* ltmain.in: Remove object files before writing to them, to avoid

circular links.
Reported by Ron O'Hara <rono@sentuny.com.au>
This commit is contained in:
Alexandre Oliva 1999-05-25 15:48:02 +00:00 committed by Alexandre Oliva
parent 4b45958069
commit 73c99f03b2
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltmain.in: Remove object files before writing to them, to avoid
circular links.
Reported by Ron O'Hara <rono@sentuny.com.au>
1999-05-24 Thomas Tanner <tanner@ffii.org>
* NEWS: support for installing stripped libraries using GNU strip

View File

@ -466,6 +466,7 @@ compiler."
command="$command -o $output_obj"
fi
$run $rm "$output_obj"
$show "$command"
if $run eval "$command"; then :
else
@ -545,6 +546,7 @@ compiler."
# Suppress compiler output if we already did a PIC compilation.
command="$command$suppress_output"
$run $rm "$output_obj"
$show "$command"
if $run eval "$command"; then :
else