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.
This commit is contained in:
Vladimir Mezentsev 2022-03-22 15:15:04 -07:00 committed by Alan Modra
parent f629ad7dac
commit b8466ab5e5
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

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