From: Gary V. Vaughan Date: Tue, 9 Mar 1999 16:56:51 +0000 (+0000) Subject: * ltmain.in: fixed a bug that causes archive link to fail when X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc0ae58442cfde2a2ad6ab5aa9a9148de175fb1f;p=thirdparty%2Flibtool.git * ltmain.in: fixed a bug that causes archive link to fail when allow_undefined=yes (currently the default). --- diff --git a/ChangeLog b/ChangeLog index fdaa16574..fbfe06378 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-03-09 Gary V. Vaughan + * 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. diff --git a/ltmain.in b/ltmain.in index 76fce857b..f630d69e2 100644 --- 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