]> 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:35:33 +0000 (02:35 +0000)
committerScott James Remnant <scott@netsplit.com>
Wed, 24 Mar 2004 02:35:33 +0000 (02:35 +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 de7dcae0de100d56fdf252a1f0b4e02bac317514..c76b9b1a4280e8275adb09158b112c366976cdf7 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-22  Scott James Remnant  <scott@netsplit.com>
 
        * m4/libtool.m4 (_LT_CONFIG): Remove unneeded else condition
index 8e9e627a9c68e727f923615f287447dcd5988e1c..fa77ab6e8e0053fb7a141a2d431ef6d0934b0290 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2024,11 +2024,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