File: rl-no-rpath.diff

package info (click to toggle)
readline 7.0-5
  • links: PTS
  • area: main
  • in suites: buster
  • size: 8,500 kB
  • sloc: ansic: 26,619; sh: 5,445; perl: 4,105; makefile: 1,677
file content (17 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)'
 	;;