From: Peter O'Gorman Date: Sun, 25 Jan 2004 00:26:06 +0000 (+0000) Subject: * ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar X-Git-Tag: release-1-5-2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a224323dde2d38c44b9859ab43ed17a570f3d6e;p=thirdparty%2Flibtool.git * ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar Tollefsen where a dir could be added to the link line with no '-L' on darwin. --- diff --git a/ChangeLog b/ChangeLog index 99a6d1303..ef19c77c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,7 +5,11 @@ * ltmain.in: Test $old_striplib before using it, not $striplib. * ltmain.in: Move eval to after command separation to allow ~ in paths. - + + * ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar + Tollefsen where a dir could be added to the link line with no '-L' + on darwin. + 2004-01-23 Scott James Remnant * libtool.m4 (AC_LIBTOOL_CONFIG): Don't attempt to diff --git a/ltmain.in b/ltmain.in index 1267c8331..9486eb85e 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2628,8 +2628,8 @@ EOF *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac - path="" fi + path="" ;; *) path="-L$path"