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:51 +0100
commit0363f1152be2bc0e020cfc1a87e44fe7d2fb7d7e (patch)
tree4789c42a933966b803d3be7a5e0f7e35600eceda
parent92b942e311eab662bd39b9ee6ef7bd8d0ca74c24 (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]