* 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>
+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>
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)