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 | 87a7fa0abf91bc86853aa8bfe1177d5cc09e0d6b (patch) | |
tree | 9f57add827539a353d443e6a5588e5c7c394169d | |
parent | 84a4d1c20cfad266a33b16006f5a8a74089fd6c0 (diff) | |
download | php-git-87a7fa0abf91bc86853aa8bfe1177d5cc09e0d6b.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)
-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 |