summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ltmain.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ltmain.sh b/bin/ltmain.sh
index 4d4cd92..40e5ab0 100644
--- a/bin/ltmain.sh
+++ b/bin/ltmain.sh
@@ -2462,13 +2462,14 @@ EOF
for foo in X $libs; do
if test "$foo" != "X"; then
if test -n "$bar"; then
- bar='$bar ${wl}-rpath ${wl}$foo';
+ bar="$bar ${wl}-rpath ${wl}$foo";
else
- bar='${wl}-rpath ${wl}$foo';
+ bar="${wl}-rpath ${wl}$foo";
fi;
fi;
done
finalize_rpath="$bar";
+ compile_rpath="$bar"
;;
*)
finalize_rpath="$rpath";