summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2022-03-23 20:21:59 +0800
committerBo YU <tsu.yubo@gmail.com>2023-05-28 15:22:40 +0200
commit94a8511dab2efa32c7cb94dc96f0dbb474b16590 (patch)
tree9e905db63b5c011209e5672b4d6ffdcf34fb6d51
parent3305f43276c67ff1d2a079aed747e58f2e6be5d8 (diff)
Disable-RPATH-support-in-Debian-builds
Gbp-Pq: Name 0001-Disable-RPATH-support-in-Debian-builds.patch
-rw-r--r--auto.def7
1 files changed, 2 insertions, 5 deletions
diff --git a/auto.def b/auto.def
index fef620d..6aad3f4 100644
--- a/auto.def
+++ b/auto.def
@@ -478,11 +478,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 /usr/lib64}} {
- 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]