public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Only .so files are used in libcollector. Remove the other files.
@ 2022-03-23  5:32 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2022-03-23  5:32 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b8466ab5e50377ddc52ea9b479be5543793123dd

commit b8466ab5e50377ddc52ea9b479be5543793123dd
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date:   Tue Mar 22 15:15:04 2022 -0700

    Only .so files are used in libcollector. Remove the other files.
    
            * libcollector/Makefile.am (install-data-local): Remove the *.la
            and *.a libraries.
            * libcollector/Makefile.in: Regenerate.

Diff:
---
 gprofng/libcollector/Makefile.am | 4 +++-
 gprofng/libcollector/Makefile.in | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gprofng/libcollector/Makefile.am b/gprofng/libcollector/Makefile.am
index ffb4f977aa5..ddce555fc87 100644
--- a/gprofng/libcollector/Makefile.am
+++ b/gprofng/libcollector/Makefile.am
@@ -80,4 +80,6 @@ libgp_collectorAPI_la_LIBADD = -lc -ldl
 .PHONY: install-data-local
 
 install-data-local: install-pkglibLTLIBRARIES
-	rm -f $(DESTDIR)/$(pkglibdir)/*.la $(DESTDIR)/$(pkglibdir)/*.a
+	for f in libgp-collector libgp-heap libgp-sync libgp-iotrace ; do \
+	  rm -f $(DESTDIR)/$(pkglibdir)/$$f.la $(DESTDIR)/$(pkglibdir)/$$f.a ; \
+	done
diff --git a/gprofng/libcollector/Makefile.in b/gprofng/libcollector/Makefile.in
index b554b665c66..e8b2aab0471 100644
--- a/gprofng/libcollector/Makefile.in
+++ b/gprofng/libcollector/Makefile.in
@@ -1138,7 +1138,9 @@ uninstall-am: uninstall-myincludeHEADERS uninstall-pkglibLTLIBRARIES
 .PHONY: install-data-local
 
 install-data-local: install-pkglibLTLIBRARIES
-	rm -f $(DESTDIR)/$(pkglibdir)/*.la $(DESTDIR)/$(pkglibdir)/*.a
+	for f in libgp-collector libgp-heap libgp-sync libgp-iotrace ; do \
+	  rm -f $(DESTDIR)/$(pkglibdir)/$$f.la $(DESTDIR)/$(pkglibdir)/$$f.a ; \
+	done
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.


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

only message in thread, other threads:[~2022-03-23  5:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23  5:32 [binutils-gdb] Only .so files are used in libcollector. Remove the other files Alan Modra

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).