diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2009-11-23 16:51:45 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2009-11-23 16:51:45 +0000 |
commit | 80314eb721f2f6f09c06b7b6345f0d83c65b3e41 (patch) | |
tree | 13635f3f81363e9c9c7f6e1c409e5409be63222a /ltmain.sh | |
parent | a27f6735121fdc1deae6093355dc7226a05252bd (diff) | |
download | php-git-80314eb721f2f6f09c06b7b6345f0d83c65b3e41.tar.gz |
Don't try to remove an empty output_obj here.
This gets rid of the annoying:
rm: invalid argument: `'
I was seeing.
(I really shouldn't be hacking libtool)
Diffstat (limited to 'ltmain.sh')
-rw-r--r-- | ltmain.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -863,12 +863,13 @@ EOF fi if test -z "$output_obj"; then + $run $rm "$lobj" # Place PIC objects in $objdir command="$command -o $lobj" + else + $run $rm "$lobj" "$output_obj" fi - $run $rm "$lobj" "$output_obj" - $show "$command" if $run eval "$command"; then : else |