From: Scott James Remnant Date: Wed, 24 Mar 2004 02:35:33 +0000 (+0000) Subject: * ltmain.in : Always add -L options to X-Git-Tag: release-1-9b~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a24ed2b3e622a9607e1fe90863baca2f1ea6c1b;p=thirdparty%2Flibtool.git * ltmain.in : 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. --- diff --git a/ChangeLog b/ChangeLog index de7dcae0d..c76b9b1a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-03-24 Scott James Remnant + + * ltmain.in : 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 * m4/libtool.m4 (_LT_CONFIG): Remove unneeded else condition diff --git a/ltmain.in b/ltmain.in index 8e9e627a9..fa77ab6e8 100644 --- 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