]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: fixed a bug that causes archive link to fail when
authorGary V. Vaughan <gary@gnu.org>
Tue, 9 Mar 1999 16:56:51 +0000 (16:56 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 9 Mar 1999 16:56:51 +0000 (16:56 +0000)
allow_undefined=yes (currently the default).

ChangeLog
ltmain.in

index fdaa165747eab045a13a26fe97e4b4643ca7388c..fbfe0637834d2b4824e4b81ced1757097ecf7d8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-03-09  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
 
+       * ltmain.in: fixed a bug that causes archive link to fail when
+       allow_undefined=yes (currently the default).
+       
        * doc/libtool.texi: added missing "@end defvar" statements.
 
        * NEWS: merged from trunk and updated.
index 76fce857b6177ade45f33495588e2161c4573f46..f630d69e29c981d8c5f6ab85fe424428347dba8d 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2529,13 +2529,14 @@ EOF
          continue
        fi
 
-       if test "X$build_old_libs" != Xno && test -n "$old_archive_from_expsyms_cmds"; then
-         # Get the link name of the library
-         eval library_name=\"$library_names_spec\"
+       if test "$build_libtool_libs" = yes &&
+          test -n "$library_names" &&
+          test -n "$old_archive_from_expsyms_cmds"; then
+
+         # figure out the soname
          set dummy $library_names
          realname="$2"
          shift; shift
-
          if test -n "$soname_spec"; then
            eval soname=\"$soname_spec\"
          else