* ltmain.in: delete the old output files (incl. the relinked binary)

before linking.
This commit is contained in:
Thomas Tanner 1999-03-11 12:31:46 +00:00
parent 44a4f0b8f5
commit 6d988bc854
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
1999-03-11 Thomas Tanner <tanner@gmx.de>
* ltmain.in: delete the old output files (incl. the relinked binary)
before linking.
* ltconfig.in: replaced `configure' with $progname and all
line numbers with @LINENO@

View File

@ -2577,7 +2577,7 @@ static const void *lt_preloaded_setup() {
fi
# Delete the old output file.
$run $rm $output
$run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
$show "$link_command"
$run eval "$link_command" || exit $?