summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-05-07 10:10:15 +0000
committerAlin Năstac <mrness@gentoo.org>2006-05-07 10:10:15 +0000
commit9f1abec106d5fb418395cb479c3e8bdf02d2561b (patch)
tree16550c4c19c1154b8eb527283e2549cd3294bddc /dev-libs/xplc/files
parentAdded ~ppc64 (diff)
downloadgentoo-2-9f1abec106d5fb418395cb479c3e8bdf02d2561b.tar.gz
gentoo-2-9f1abec106d5fb418395cb479c3e8bdf02d2561b.tar.bz2
gentoo-2-9f1abec106d5fb418395cb479c3e8bdf02d2561b.zip
Fix building with -Wl,--as-needed (#132477)
(Portage version: 2.0.54)
Diffstat (limited to 'dev-libs/xplc/files')
-rw-r--r--dev-libs/xplc/files/xplc-0.3.13-as-needed.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/xplc/files/xplc-0.3.13-as-needed.patch b/dev-libs/xplc/files/xplc-0.3.13-as-needed.patch
new file mode 100644
index 000000000000..3e002db2ad00
--- /dev/null
+++ b/dev-libs/xplc/files/xplc-0.3.13-as-needed.patch
@@ -0,0 +1,22 @@
+--- config/rules.mk.orig 2006-05-06 19:28:46.000000000 +0200
++++ config/rules.mk 2006-05-06 19:28:53.000000000 +0200
+@@ -44,7 +44,7 @@
+ $(RANLIB) $@
+
+ %.so:
+- $(LINK.cc) $(SHARED) $^ -o $@
++ $(LINK.cc) $(SHARED) $^ $(LDLIBS) -o $@
+
+ %.dll:
+ $(LINK.cc) $(SHARED) $^ -o $@
+--- xplc/vars.mk.orig 2006-05-06 19:32:06.000000000 +0200
++++ xplc/vars.mk 2006-05-06 19:32:12.000000000 +0200
+@@ -32,7 +32,7 @@
+
+ ifneq ("$(enable_loader)", "no")
+ ifneq ("$(with_dlopen)", "no")
+-libxplc.so: LDFLAGS+=$(with_dlopen)
++libxplc.so: LDLIBS+=$(with_dlopen)
+ endif
+ endif
+