$newlib_search_path instead of just in scan mode to ensure that
non-libtool libraries in user-specified directories can be found.
+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
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