summaryrefslogtreecommitdiff
path: root/mu-aux/ltmain.sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mu-aux/ltmain.sh.patch')
-rw-r--r--mu-aux/ltmain.sh.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/mu-aux/ltmain.sh.patch b/mu-aux/ltmain.sh.patch
new file mode 100644
index 000000000..239017e0c
--- /dev/null
+++ b/mu-aux/ltmain.sh.patch
@@ -0,0 +1,33 @@
+Index: build-aux/ltmain.sh
+--- build-aux.orig/ltmain.sh 2019-11-30 19:38:53.588892479 +0200
++++ build-aux/ltmain.sh 2019-12-03 23:05:41.766760636 +0200
+@@ -6556,6 +6556,7 @@ func_mode_link ()
+ xrpath=
+ perm_rpath=
+ temp_rpath=
++ temp_rpath_tail=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+@@ -8088,7 +8089,10 @@ func_mode_link ()
+ # Make sure the rpath contains only unique directories.
+ case $temp_rpath: in
+ *"$absdir:"*) ;;
+- *) func_append temp_rpath "$absdir:" ;;
++ *) case $absdir in
++ "$progdir/"*) func_append temp_rpath "$absdir:" ;;
++ *) func_append temp_rpath_tail "$absdir:" ;;
++ esac
+ esac
+ fi
+
+@@ -8538,6 +8542,9 @@ func_mode_link ()
+ fi # link_all_deplibs != no
+ fi # linkmode = lib
+ done # for deplib in $libs
++
++ func_append temp_rpath "$temp_rpath_tail"
++
+ if test link = "$pass"; then
+ if test prog = "$linkmode"; then
+ compile_deplibs="$new_inherited_linker_flags $compile_deplibs"

Return to:

Send suggestions and report system problems to the System administrator.