commit: fc0f0e97a14b673a4e591e599f675b3c4403fece Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Sep 5 05:19:18 2021 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Sun Sep 5 05:19:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc0f0e97
sys-cluster/libi: respect LDFLAGS, add soname Closes: https://bugs.gentoo.org/806270 Closes: https://bugs.gentoo.org/806272 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> sys-cluster/libi/files/libi-shared-library.patch | 11 +++++++++++ sys-cluster/libi/libi-5.0.1_p20180510.ebuild | 1 + 2 files changed, 12 insertions(+) diff --git a/sys-cluster/libi/files/libi-shared-library.patch b/sys-cluster/libi/files/libi-shared-library.patch new file mode 100644 index 000000000..769af0931 --- /dev/null +++ b/sys-cluster/libi/files/libi-shared-library.patch @@ -0,0 +1,11 @@ +--- a/conf/Makefile.in ++++ b/conf/Makefile.in +@@ -115,7 +115,7 @@ + + $(LIBLIBI_SO): libi-prep $(LIBI_OBJS) + @echo Creating LIBI SO ... +- $(CXX) $(SOFLAGS) -o $(LIBDIR)/liblibi.so $(LIBI_OBJS) -L$(LIBDIR) -lxplat $(LMON_LIBS) ++ $(CXX) $(CXXFLAGS) $(SOFLAGS) $(LDFLAGS) -Wl,-soname,liblibi.so -o $(LIBDIR)/liblibi.so $(LIBI_OBJS) -L$(LIBDIR) -lxplat $(LMON_LIBS) + + # Default Rules + diff --git a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild b/sys-cluster/libi/libi-5.0.1_p20180510.ebuild index fd46e9eb8..5dd1063ba 100644 --- a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild +++ b/sys-cluster/libi/libi-5.0.1_p20180510.ebuild @@ -27,6 +27,7 @@ DEPEND=" PATCHES=( "${FILESDIR}/${PN}-create-libdir.patch" "${FILESDIR}/${PN}-link-launchmon.patch" + "${FILESDIR}/${PN}-shared-library.patch" ) src_configure() {
