]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.in (func_mode_link): Fix quoting bug. Fixes
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 1 Oct 2004 11:03:03 +0000 (11:03 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 1 Oct 2004 11:03:03 +0000 (11:03 +0000)
e.g. the quoting of the -export-symbols-regex argument in .la
files' relink_command.

ChangeLog
config/ltmain.in

index f958c517632df86f7431b4de35d3af0757910754..72b09c3cb58dd5eb1f9915df67b2e1664d3dbe1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-10-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * config/ltmain.in (func_mode_link): Fix quoting bug.  Fixes
+       e.g. the quoting of the -export-symbols-regex argument in .la
+       files' relink_command.
+
        * libltdl/lt__alloc.c (lt__memdup): Allocation can fail, so we
        need to guard against null pointer dereference here.
        * libltdl/ltdl.c (lt_dlcaller_register): Ditto.
index 993866488d79c53cd3108279d8d81cddb7588e6d..7ded8e4ca7adbd8222c1a4cac3b88f1a18bdf00b 100644 (file)
@@ -2188,7 +2188,8 @@ func_mode_link ()
       arg="$1"
       shift
       qarg=`$ECHO "X$arg" | $Xsed -e "$sed_quote_subst"`
-      libtool_args="$libtool_args $qarg"
+      func_quote_for_eval "$qarg"
+      libtool_args="$libtool_args $func_quote_for_eval_result"
 
       # If the previous option needs an argument, assign it.
       if test -n "$prev"; then