* ltmain.in: when building a library it doesn't make

sense to remove a relinked program ("lt-" prefix)
This commit is contained in:
Thomas Tanner 1999-03-11 22:25:01 +00:00
parent c853ec3163
commit 72db861fe7
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
1999-03-11 Thomas Tanner <tanner@gmx.de>
* ltmain.in: when building a library it doesn't make
sense to remove a relinked program ("lt-" prefix)
1999-03-11 Alexandre Oliva <oliva@dcc.unicamp.br>
* mdemo/main.c (main, test_dl, test_dlself): propagate error

View File

@ -1697,12 +1697,8 @@ compiler."
# Create the output directory, or remove our outputs if we need to.
if test -d $output_objdir; then
$show "${rm}r $output_objdir/$outputname $output_objdir/lt-$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
$run ${rm}r $output_objdir/$outputname $output_objdir/lt-$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
if test -z "$run" && test -f "$output_objdir/lt-$outputname"; then
$echo "$modename: warning: $output_objdir/lt-$outputname could not be removed" 1>&2
fi
$show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
$run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
else
$show "$mkdir $output_objdir"
$run $mkdir $output_objdir