https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453
--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:9f7bc160b4a0f27dce248d1226e3ae7104b0e67b commit r12-1141-g9f7bc160b4a0f27dce248d1226e3ae7104b0e67b Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue Jun 1 11:00:16 2021 +0100 libstdc++: Fix installation of python hooks [PR 99453] When no shared library is installed, the new code to determine the name of the -gdb.py file yields an empty string. Use the name of the static library in that case. libstdc++-v3/ChangeLog: PR libstdc++/99453 * python/Makefile.am: Use archive name for printer hook if no dynamic library name is available. * python/Makefile.in: Regenerate.