]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix more problematic code from "Add func_append_quoted and do..."
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 9 Aug 2010 21:16:12 +0000 (23:16 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 9 Aug 2010 21:18:27 +0000 (23:18 +0200)
* libltdl/config/ltmain.m4sh (func_mode_link): Revert back
func_append instances that as assignments relied on the shell
not performing word splitting on the right hand side of the
assignment.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/config/ltmain.m4sh

index 869897b9548598b2e9f897fa66e254615ef81286..b71c668b9ba046c831884e7c4820b50fb46dd0e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Fix more problematic code from "Add func_append_quoted and do..."
+       * libltdl/config/ltmain.m4sh (func_mode_link): Revert back
+       func_append instances that as assignments relied on the shell
+       not performing word splitting on the right hand side of the
+       assignment.
+
        Fix another typo on "Add func_append_quoted and do..."
        * libltdl/config/ltmain.m4sh (func_mode_link): Fix regression in
        computation of finalize_rpath introduced in v2.2.10-40-g0da7d80,
index e5065fbcac848306423a7a9f70555ec1050f2ba6..d67752956b0933a46e0d0f1420457e4f512ee2a0 100644 (file)
@@ -2464,7 +2464,7 @@ func_extract_archives ()
         func_extract_an_archive "$my_xdir" "$my_xabs"
        ;;
       esac
-      func_append my_oldobjs " "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
     done
 
     func_extract_archives_result="$my_oldobjs"
@@ -5854,7 +5854,7 @@ func_mode_link ()
          compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
          finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
        else
-         func_append compiler_flags " "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+         compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
        fi
       fi
       dependency_libs="$newdependency_libs"