]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.in (func_mode_link): When linking an installed
authorScott James Remnant <scott@netsplit.com>
Tue, 26 Oct 2004 17:21:30 +0000 (17:21 +0000)
committerScott James Remnant <scott@netsplit.com>
Tue, 26 Oct 2004 17:21:30 +0000 (17:21 +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
ltmain.in

index 88641de9bed48428720d6f0bfbcecc6538c37a75..fd2697902f4d5a0485014c5be1d91196cde58c9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-10-26  Gary 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-19  Peter O'Gorman  <peter@pogma.com>
 
        * configure.ac: Bump version to 1.5.11a.
index a4686d2359ec0387ceef7794446093210869ab92..7821cdd5d25ab167aca246fdd8a186ad8cf3cb79 100644 (file)
--- 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