summaryrefslogtreecommitdiffstats
path: root/debian/patches/rl-no-rpath.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:51:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:51:57 +0000
commit1c38c7a67e9d4d68e27c6ad183d1cccbb5596ddf (patch)
tree038435729af9aceab96d4484e895e310740e9885 /debian/patches/rl-no-rpath.diff
parentAdding upstream version 8.2. (diff)
downloadreadline-1c38c7a67e9d4d68e27c6ad183d1cccbb5596ddf.tar.xz
readline-1c38c7a67e9d4d68e27c6ad183d1cccbb5596ddf.zip
Adding debian version 8.2-1.3.debian/8.2-1.3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/rl-no-rpath.diff')
-rw-r--r--debian/patches/rl-no-rpath.diff15
1 files changed, 15 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..cdcc47d
--- /dev/null
+++ b/debian/patches/rl-no-rpath.diff
@@ -0,0 +1,15 @@
+rl-no-rpath.dpatch by <doko@debian.org>
+
+Don't set a runtime path for linking the shared libraries
+
+--- a/support/shobj-conf
++++ b/support/shobj-conf
+@@ -128,7 +128,7 @@ linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-ge
+ 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)'
+ ;;
+