public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] Restore installation of libstdc++.so.6.0.??-gdb.py
@ 2015-08-20 10:52 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2015-08-20 10:52 UTC (permalink / raw)
  To: libstdc++, gcc-patches; +Cc: Matthias Klose

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

Matthias noticed that my backport of the Filesystem library removed
the libstdc++.so.6.0.21-gdb.py file, which was now getting installed
as libstdc++fs.a-gdb.py instead.

Fixed by changing the glob we use to find the candidate library files
that we use for the name of the installed gdb.py file.

Tested powerpc64le-linux, committed to trunk and gcc-5-branch.

[-- Attachment #2: patch.txt --]
[-- Type: text/x-patch, Size: 784 bytes --]

commit dc3403f07733a847f37e15c856759a94aa7e97d7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Aug 20 11:11:51 2015 +0100

    	* python/Makefile.am: Ensure gdb.py is installed for libstdc++ not
    	libstdc++fs.
    	* python/Makefile.in: Regenerate.

diff --git a/libstdc++-v3/python/Makefile.am b/libstdc++-v3/python/Makefile.am
index 5d78224..ccb9427 100644
--- a/libstdc++-v3/python/Makefile.am
+++ b/libstdc++-v3/python/Makefile.am
@@ -49,7 +49,7 @@ install-data-local: gdb.py
 ## fragile, but there does not seem to be a better option, because
 ## libtool hides the real names from us.
 	@here=`pwd`; cd $(DESTDIR)$(toolexeclibdir); \
-	  for file in libstdc++*; do \
+	  for file in libstdc++.*; do \
 	    case $$file in \
 	      *-gdb.py) ;; \
 	      *.la) ;; \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-20 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-20 10:52 [patch] Restore installation of libstdc++.so.6.0.??-gdb.py Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).