diff --git a/ChangeLog b/ChangeLog index e4174a41..fba3065a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,12 @@ -2004-09-22 Charles Wilson +2004-09-25 Gary V. 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-24 Charles Wilson * libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Revert changeset from `2004-09-22 Charles Wilson '. diff --git a/config/ltmain.in b/config/ltmain.in index 59d368fe..99386648 100644 --- a/config/ltmain.in +++ b/config/ltmain.in @@ -3083,10 +3083,6 @@ func_mode_link () func_warning "\`-l' is ignored for archives/objects" 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