]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar
authorPeter O'Gorman <peter@pogma.com>
Sun, 25 Jan 2004 00:26:06 +0000 (00:26 +0000)
committerPeter O'Gorman <peter@pogma.com>
Sun, 25 Jan 2004 00:26:06 +0000 (00:26 +0000)
Tollefsen where a dir could be added to the link line with no '-L'
on darwin.

ChangeLog
ltmain.in

index 99a6d1303f5c61ffb86d20c7bdb77d6adacd07aa..ef19c77c64bbec95544a3e07151ddbc8ce1c7315 100644 (file)
--- 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  <scott@netsplit.com>
 
        * libtool.m4 (AC_LIBTOOL_CONFIG): Don't attempt to
index 1267c8331cb1e255ac5a77943d019a35d62bd459..9486eb85efd729828f9d51723843c5b75f118572 100644 (file)
--- 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"