summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/relink-prog/1.3d')
-rw-r--r--patches/relink-prog/1.3d24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/relink-prog/1.3d b/patches/relink-prog/1.3d
new file mode 100644
index 0000000..ccb6cb8
--- /dev/null
+++ b/patches/relink-prog/1.3d
@@ -0,0 +1,24 @@
+--- ltmain.sh
++++ ltmain.sh
+@@ -3203,6 +3203,12 @@
+ add_dir="$add_dir -L$inst_prefix_dir$libdir"
+ ;;
+ esac
++ else
++ case $libdir in
++ [\\/]*)
++ add_dir="$add_dir -L\\\"\\\${D}\\\"$libdir"
++ ;;
++ esac
+ fi
+ add="-l$name"
+ fi
+@@ -6630,7 +6636,7 @@
+ esac
+ fi
+ libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
+- if test -n "$libdir" && test ! -f "$libfile"; then
++ if test -n "$libdir" && test ! -f "${D}$libfile"; then
+ $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
+ finalize=no
+ fi