mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-01 15:25:27 +08:00
* ltmain.in (old_archive_cmds): Ensure that there are always .o
objects available before running old_archive_cmds.
This commit is contained in:
parent
4f23183468
commit
b7b94832c8
@ -8,6 +8,11 @@
|
||||
would never match; fixed.
|
||||
Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>
|
||||
|
||||
1999-04-26 Gary V. Vaughan <gary@oranda.demon.co.uk>
|
||||
|
||||
* ltmain.in (old_archive_cmds): Ensure that there are always .o
|
||||
objects available before running old_archive_cmds.
|
||||
|
||||
1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* libtool.m4 (OBJDUMP): Pass it to ltconfig.
|
||||
|
13
ltmain.in
13
ltmain.in
@ -3455,6 +3455,19 @@ fi\
|
||||
if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
|
||||
eval cmds=\"$old_archive_from_new_cmds\"
|
||||
else
|
||||
# Ensure that we have .o objects in place incase we decided
|
||||
# not to build a shared library, and have fallen back to building
|
||||
# static libs even though --disable-static was passed!
|
||||
if test "X$pic_flag" = X; then
|
||||
for obj in $libobjs; do
|
||||
oldobj=`$echo "X$obj" | $Xsed -e "$lo2o"`
|
||||
if test ! -f $oldobj; then
|
||||
$show "${LN_S} $obj $oldobj"
|
||||
$run ${LN_S} $obj $oldobj || exit $?
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
eval cmds=\"$old_archive_cmds\"
|
||||
fi
|
||||
IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
|
||||
|
Loading…
Reference in New Issue
Block a user