]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh (func_mode_link):
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 30 Sep 2005 08:41:48 +0000 (08:41 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 30 Sep 2005 08:41:48 +0000 (08:41 +0000)
Fix wrong logic introduced in last commit.

ChangeLog
libltdl/config/ltmain.m4sh

index 06299d01b382d0eb796b11bc5ed4489a9bfb82d7..1f4d28b4e32d77d77e40c537f6f701763b5b04aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/config/ltmain.m4sh (func_mode_link):
+       Fix wrong logic introduced in last commit.
+
 2005-09-30  Gary V. Vaughan  <gary@gnu.org>
 
        * tests/libtoolize.at: Add a new test to catch a regression I
@@ -23,7 +28,7 @@
        and also remove temporary files used during symbols file
        filtering.
 
-2005-09-29  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2005-09-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libtoolize.m4sh (func_included_files): Do not recurse
        non-existent files.
index 1ac571990ef8d397adc50dc97732a840722662e5..cc63b20d92c2199b3ae35596d59525f4ec20a207 100644 (file)
@@ -4933,7 +4933,7 @@ EOF
        test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
 
        delfiles=
-       if test -n "$export_symbols$include_expsyms"; then
+       if test -n "$export_symbols" && test -n "$include_expsyms"; then
          $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
          export_symbols="$output_objdir/$libname.uexp"
          delfiles="$delfiles $export_symbols"
@@ -4991,7 +4991,7 @@ EOF
          fi
        fi
 
-       if test -n "$export_symbols$include_expsyms"; then
+       if test -n "$export_symbols" && test -n "$include_expsyms"; then
          tmp_export_symbols="$export_symbols"
          test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
          $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'