From: Scott James Remnant Date: Tue, 26 Oct 2004 17:21:30 +0000 (+0000) Subject: * config/ltmain.in (func_mode_link): When linking an installed X-Git-Tag: release-1-5-12~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0531ecbb404857d819dfe689ee8b1be92d3a426f;p=thirdparty%2Flibtool.git * config/ltmain.in (func_mode_link): When linking an installed libtool library on the command line using -lfoo we need to find the library in the search paths and add it's dependency_libs to the link in the conv pass so that any libtool libs listed are correctly expanded in the link pass. --- diff --git a/ChangeLog b/ChangeLog index 88641de9b..fd2697902 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-10-26 Gary Vaughan + + * config/ltmain.in (func_mode_link): When linking an installed + libtool library on the command line using -lfoo we need to find + the library in the search paths and add it's dependency_libs to + the link in the conv pass so that any libtool libs listed are + correctly expanded in the link pass. + 2004-09-19 Peter O'Gorman * configure.ac: Bump version to 1.5.11a. diff --git a/ltmain.in b/ltmain.in index a4686d235..7821cdd5d 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1985,10 +1985,6 @@ EOF $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do for search_ext in .la $std_shrext .so .a; do