summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2019-11-21 10:37:32 +0100
committerDidier Raboud <odyx@debian.org>2019-11-21 10:37:55 +0100
commitbc5f5d6c5ed60bc891c8549ed417ebff25d8001e (patch)
tree4789c42a933966b803d3be7a5e0f7e35600eceda
parent9e46fe0802e8ce5f19b7c11fc617cb025eec37bf (diff)
Disable RPATH support in Debian builds
-rw-r--r--auto.def7
1 files changed, 2 insertions, 5 deletions
diff --git a/auto.def b/auto.def
index fe6e4a2..3a3216b 100644
--- a/auto.def
+++ b/auto.def
@@ -314,11 +314,8 @@ if {[opt-bool shared with-jim-shared]} {
}
define VERSION [format %.2f [expr {[get-define JIM_VERSION] / 100.0}]]
define LIBSOEXT [format [get-define SH_SOEXTVER] [get-define VERSION]]
-if {[get-define libdir] ni {/lib /usr/lib}} {
- define SH_LINKRPATH_FLAGS [format [get-define SH_LINKRPATH] [get-define libdir]]
-} else {
- define SH_LINKRPATH_FLAGS ""
-}
+# Disable RPATH support in Debian builds
+define SH_LINKRPATH_FLAGS ""
define JIM_INSTALL [opt-bool install-jim]
define JIM_DOCS [opt-bool docs]
define JIM_RANDOMISE_HASH [opt-bool random-hash]