From 29b732ba79ba031701afae5708dc98c9b98689e4 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sat, 25 Sep 2004 13:38:53 +0000 Subject: [PATCH] * 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. --- ChangeLog | 10 +++++++++- config/ltmain.in | 4 ---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4174a416..fba3065a6 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 59d368fea..993866488 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 -- 2.47.2