summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-12 22:52:51 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-12 22:52:51 +0000
commit9ea57364913a7a4c3d6f7f22cb89d7b08d3ea209 (patch)
tree40fa79183b3a5f98293177cf9f34f605fce6fba0 /dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch
parentVersion bump (diff)
downloadgentoo-2-9ea57364913a7a4c3d6f7f22cb89d7b08d3ea209.tar.gz
gentoo-2-9ea57364913a7a4c3d6f7f22cb89d7b08d3ea209.tar.bz2
gentoo-2-9ea57364913a7a4c3d6f7f22cb89d7b08d3ea209.zip
Drop useless -rpath flags.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch')
-rw-r--r--dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch b/dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch
index 462af70d7c36..254d20594bb2 100644
--- a/dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch
+++ b/dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch
@@ -2,6 +2,8 @@ http://bugs.gentoo.org/181438
make sure we respect LDFLAGS
+also make sure we don't add useless -rpath flags to the system libdir
+
--- openssl-0.9.8h/Makefile.org
+++ openssl-0.9.8h/Makefile.org
@@ -180,6 +181,7 @@
@@ -19,7 +21,7 @@ make sure we respect LDFLAGS
SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
-DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
-+DO_GNU_APP=LDFLAGS="$(LDFLAGS) $(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
++DO_GNU_APP=LDFLAGS="$(LDFLAGS) $(CFLAGS)"
#This is rather special. It's a special target with which one can link
#applications without bothering with any features that have anything to