summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch')
-rw-r--r--net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch b/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch
index 3e1f205a73c4..3088abc72f0f 100644
--- a/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch
+++ b/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch
@@ -25,6 +25,15 @@ diff -Nru wvstreams-4.3.orig/configure.ac wvstreams-4.3/configure.ac
diff -Nru wvstreams-4.3.orig/wvrules.mk wvstreams-4.3/wvrules.mk
--- wvstreams-4.3.orig/wvrules.mk 2007-02-07 21:06:17.000000000 +0200
+++ wvstreams-4.3/wvrules.mk 2007-03-12 13:59:25.000000000 +0200
+@@ -60,7 +60,7 @@
+ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+ CFLAGS += $(COPTS) $(C_AND_CXX_FLAGS)
+ CXXFLAGS += $(CXXOPTS) $(C_AND_CXX_FLAGS)
+-LDFLAGS += $(LDOPTS) -L$(WVSTREAMS_LIB)
++LDFLAGS += $(LDOPTS) -L$(WVSTREAMS_LIB) -Wl,-rpath-link,$(WVSTREAMS_LIB)
+
+ # Default compiler we use for linking
+ WVLINK_CC = gcc
@@ -272,7 +272,7 @@
%.so: SONAME=$@$(if $(SO_VERSION),.$(SO_VERSION))
wvsoname=$(if $($1-SONAME),$($1-SONAME),$(if $(SONAME),$(SONAME),$1))