]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: delete the old output files (incl. the relinked binary)
authorThomas Tanner <tanner@gmx.de>
Thu, 11 Mar 1999 12:31:46 +0000 (12:31 +0000)
committerThomas Tanner <tanner@gmx.de>
Thu, 11 Mar 1999 12:31:46 +0000 (12:31 +0000)
  before linking.

ChangeLog
ltmain.in

index aaeb0853633a8b9dc865948d2ce369efcd76bde0..17fad3e510fd30cac17ef84dba56cd06bc1f4b35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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@
        
index 977510e6c5f818e37ad3a46b50b8acbc9911952c..97734209fbc6de6347d37f4be9cb2f1b3ee5ed68 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -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 $?