]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.in (func_mode_link): When linking an installed
authorGary V. Vaughan <gary@gnu.org>
Sat, 25 Sep 2004 13:38:53 +0000 (13:38 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 25 Sep 2004 13:38:53 +0000 (13:38 +0000)
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
config/ltmain.in

index e4174a4161bb697ddc5652f0cfb76a962d06781e..fba3065a68c6724926e7ca868103cb503b9eb63c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>'.
index 59d368fea912179e80ab0924214459f2e1c12f8b..993866488d79c53cd3108279d8d81cddb7588e6d 100644 (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