summaryrefslogtreecommitdiffstats
path: root/debian/patches/rl-no-rpath.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/rl-no-rpath.diff')
-rw-r--r--debian/patches/rl-no-rpath.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/rl-no-rpath.diff b/debian/patches/rl-no-rpath.diff
new file mode 100644
index 0000000..f47e08e
--- /dev/null
+++ b/debian/patches/rl-no-rpath.diff
@@ -0,0 +1,17 @@
+rl-no-rpath.dpatch by <doko@debian.org>
+
+Don't set a runtime path for linking the shared libraries
+
+Index: b/support/shobj-conf
+===================================================================
+--- a/support/shobj-conf
++++ b/support/shobj-conf
+@@ -128,7 +128,7 @@
+ SHOBJ_LD='${CC}'
+ SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
+
+- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
++ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
+ SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
+ ;;
+