* 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.
This commit is contained in:
Gary V. Vaughan 2004-09-25 13:38:53 +00:00
parent 7e9e1f5a70
commit 29b732ba79
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,12 @@
2004-09-22 Charles Wilson <cwilson@spam.protected>
2004-09-25 Gary V. Vaughan <gary@gnu.org>
* 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 <cwilson@spam.protected>
* libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Revert changeset from
`2004-09-22 Charles Wilson <cwilson@spam.protected>'.

View File

@ -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