Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-04-12 09:11:08 +0400
committerChristopher Faylor <me@cgf.cx>2009-04-12 09:11:08 +0400
commit73bd57524a80a46826a5a71e1b34305df7471e09 (patch)
treec091b486086899d71733433a5bbe3f674815c642 /winsup/cygwin/mkimport
parentd129941aefc7860b9bd0b6f1e464c96b3374914a (diff)
* speclib: Initial stab at cleaning up temp files. More work needed.
* mkimport: Ditto.
Diffstat (limited to 'winsup/cygwin/mkimport')
-rwxr-xr-xwinsup/cygwin/mkimport4
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 $?;