summaryrefslogtreecommitdiff
path: root/openssl0.9.8/patches/no-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openssl0.9.8/patches/no-rpath.patch')
-rw-r--r--openssl0.9.8/patches/no-rpath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/openssl0.9.8/patches/no-rpath.patch b/openssl0.9.8/patches/no-rpath.patch
new file mode 100644
index 0000000..3ebc9ac
--- /dev/null
+++ b/openssl0.9.8/patches/no-rpath.patch
@@ -0,0 +1,13 @@
+Index: openssl-0.9.8k/Makefile.shared
+===================================================================
+--- openssl-0.9.8k.orig/Makefile.shared 2008-09-17 17:56:40.000000000 +0200
++++ openssl-0.9.8k/Makefile.shared 2009-07-19 11:37:25.000000000 +0200
+@@ -151,7 +151,7 @@
+ NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
+ 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="$(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