mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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@gmail.com>
This commit is contained in:
11
sys-cluster/libi/files/libi-shared-library.patch
Normal file
11
sys-cluster/libi/files/libi-shared-library.patch
Normal file
@@ -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
|
||||
|
||||
@@ -27,6 +27,7 @@ DEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-create-libdir.patch"
|
||||
"${FILESDIR}/${PN}-link-launchmon.patch"
|
||||
"${FILESDIR}/${PN}-shared-library.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user