* ltmain.in: fixed a bug that causes archive link to fail when

allow_undefined=yes (currently the default).
This commit is contained in:
Gary V. Vaughan 1999-03-09 16:56:51 +00:00
parent 3b85610a14
commit dc0ae58442
2 changed files with 8 additions and 4 deletions

View File

@ -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.

View File

@ -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