1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: vimer <yuzibode@126.com>
Date: Wed, 23 Mar 2022 20:21:59 +0800
Subject: Disable-RPATH-support-in-Debian-builds
---
auto.def | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/auto.def b/auto.def
index 5a66c7e..5935803 100644
--- a/auto.def
+++ b/auto.def
@@ -445,11 +445,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]
|