]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Do not add bogus directory arguments to link command lines.
authorTörök Edwin <edwintorok@gmail.com>
Sat, 28 Feb 2009 12:26:59 +0000 (13:26 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 28 Feb 2009 12:26:59 +0000 (13:26 +0100)
* libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
always initialized before it is used.  Reported for zsh, for
which $path contains $PATH entries even after "emulate sh", see
<http://bugs.debian.org/517501>.

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

index 8308fc4e350326bcfe416042ab0891b5b1c411f1..022da07e2f9185a24c543d6dc67d052d323fd4f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-02-28  Török Edwin  <edwintorok@gmail.com>  (tiny change)
+           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Do not add bogus directory arguments to link command lines.
+       * libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
+       always initialized before it is used.  Reported for zsh, for
+       which $path contains $PATH entries even after "emulate sh", see
+       <http://bugs.debian.org/517501>.
+
 2009-02-28  Andreas Schwab  <schwab@suse.de>
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
index 49e07c3bf445827b038558042886857cfb2619b6..7fcf4cbdf868ce7039b304cc67c1711ce45e4bb7 100644 (file)
@@ -5624,6 +5624,7 @@ func_mode_link ()
          if test "$link_all_deplibs" != no; then
            # Add the search paths of all dependency libraries
            for deplib in $dependency_libs; do
+             path=
              case $deplib in
              -L*) path="$deplib" ;;
              *.la)