diff options
Diffstat (limited to 'distutils/ccompiler.py')
-rw-r--r-- | distutils/ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils/ccompiler.py b/distutils/ccompiler.py index b38cf261..c9eb709b 100644 --- a/distutils/ccompiler.py +++ b/distutils/ccompiler.py @@ -802,7 +802,7 @@ int main (int argc, char **argv) { except (LinkError, TypeError): return False else: - os.remove("a.out") + os.remove(os.path.join(self.output_dir or '', "a.out")) finally: for fn in objects: os.remove(fn) |