]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in <prog linkmode>: Always add -L options to
authorScott James Remnant <scott@netsplit.com>
Wed, 24 Mar 2004 02:36:59 +0000 (02:36 +0000)
committerScott James Remnant <scott@netsplit.com>
Wed, 24 Mar 2004 02:36:59 +0000 (02:36 +0000)
$newlib_search_path instead of just in scan mode to ensure that
non-libtool libraries in user-specified directories can be found.

ChangeLog
ltmain.in

index 7fe098c32a89a7ec4a7f051572512aeddcb67d52..5549cbe578976efbeacfa3ec63997afcb53af0e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-24  Scott James Remnant  <scott@netsplit.com>
+
+       * ltmain.in <prog linkmode>: Always add -L options to
+       $newlib_search_path instead of just in scan mode to ensure that
+       non-libtool libraries in user-specified directories can be found.
+
 2004-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * m4/libtool.m4: Remove newlines from lt_ld_extra, so
index 988372974df104e2ff107acb0793893c96a1632b..9e5fc80bdb764e285c0ab19ac8387951d296eba1 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1946,11 +1946,11 @@ EOF
            fi
            if test "$pass" = scan; then
              deplibs="$deplib $deplibs"
-             newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
            else
              compile_deplibs="$deplib $compile_deplibs"
              finalize_deplibs="$deplib $finalize_deplibs"
            fi
+           newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
            ;;
          *)
            $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2