summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-18 02:20:04 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-18 02:59:45 -0500
commit7609ae8d3ee84ed7313f19f3d677f251fcb5ea50 (patch)
tree1b53ea9b3132699198a237ce381796353f6c7702 /app-emulation
parentapp-emulation/hercules: fix building as non-root user (diff)
downloadgentoo-7609ae8d3ee84ed7313f19f3d677f251fcb5ea50.tar.gz
gentoo-7609ae8d3ee84ed7313f19f3d677f251fcb5ea50.tar.bz2
gentoo-7609ae8d3ee84ed7313f19f3d677f251fcb5ea50.zip
app-emulation/hercules: fix linking of modules with system libtool #779100
Add missing linkage to the libhercu.la module for system libtool. This doesn't normally matter as the module is loaded by hercules which itself is linked against libtool. Bug: https://bugs.gentoo.org/252716 Closes: https://bugs.gentoo.org/779100 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/hercules/files/hercules-3.13-unbundle-libltdl.patch7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-emulation/hercules/files/hercules-3.13-unbundle-libltdl.patch b/app-emulation/hercules/files/hercules-3.13-unbundle-libltdl.patch
index 7aec7f602de4..11a751c1e592 100644
--- a/app-emulation/hercules/files/hercules-3.13-unbundle-libltdl.patch
+++ b/app-emulation/hercules/files/hercules-3.13-unbundle-libltdl.patch
@@ -282,7 +282,7 @@
DYNMOD_LD_FLAGS =
DYNMOD_LD_ADD =
LIB_LD_FLAGS = $(XSTATIC) \
-@@ -295,8 +295,7 @@
+@@ -295,12 +295,11 @@
memrchr.c \
parser.c \
pttrace.c \
@@ -292,6 +292,11 @@
libhercu_la_LDFLAGS = $(LIB_LD_FLAGS)
+- libhercu_la_LIBADD = $(LDADD) libhercs.la
++ libhercu_la_LIBADD = $(LDADD) libhercs.la $(LIB_LD_ADD)
+
+ #
+ # Core Hercules (shared) library
@@ -372,8 +371,7 @@
memrchr.c \
$(dynamic_SRC) \