summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-03-14 11:11:19 +0000
committerAlin Năstac <mrness@gentoo.org>2007-03-14 11:11:19 +0000
commit145d5e210c6f09f311f3da007ef98498f84900ef (patch)
treef29809134fffa75f2de14532bfc9cd017f98e4d5 /net-libs/wvstreams/files
parentstable on amd64; security bug 163678 (diff)
downloadgentoo-2-145d5e210c6f09f311f3da007ef98498f84900ef.tar.gz
gentoo-2-145d5e210c6f09f311f3da007ef98498f84900ef.tar.bz2
gentoo-2-145d5e210c6f09f311f3da007ef98498f84900ef.zip
Add -Wl,-rpath-link,. to LDFLAGS (bug 167939 comment 11).
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-libs/wvstreams/files')
-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))