diff options
author | Christopher Faylor <me@cgf.cx> | 2009-04-12 05:11:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-04-12 05:11:08 +0000 |
commit | 73bd57524a80a46826a5a71e1b34305df7471e09 (patch) | |
tree | c091b486086899d71733433a5bbe3f674815c642 /winsup/cygwin/mkimport | |
parent | d129941aefc7860b9bd0b6f1e464c96b3374914a (diff) | |
download | cygnal-73bd57524a80a46826a5a71e1b34305df7471e09.tar.gz cygnal-73bd57524a80a46826a5a71e1b34305df7471e09.tar.bz2 cygnal-73bd57524a80a46826a5a71e1b34305df7471e09.zip |
* speclib: Initial stab at cleaning up temp files. More work needed.
* mkimport: Ditto.
Diffstat (limited to 'winsup/cygwin/mkimport')
-rwxr-xr-x | winsup/cygwin/mkimport | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/mkimport b/winsup/cygwin/mkimport index 58c604180..99d8ef049 100755 --- a/winsup/cygwin/mkimport +++ b/winsup/cygwin/mkimport @@ -77,4 +77,6 @@ for my $f (keys %text) { } unlink $libdll; -exec $ar, 'crus', $libdll, glob('*.o'), @ARGV; +system $ar, 'crus', $libdll, glob('*.o'), @ARGV; +unlink glob('*.o'); +exit 1 if $?; |