Skip to content

Commit ba40575

Browse files
committed
MinGW: Misc test fixes
1 parent b4cb586 commit ba40575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/ccompiler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def has_function(self, funcname, includes=None, include_dirs=None,
802802
except (LinkError, TypeError):
803803
return False
804804
else:
805-
os.remove(os.path.join(self.output_dir or '', "a.out"))
805+
os.remove(os.path.join(self.output_dir or '', "a.out" + self.exe_extension))
806806
finally:
807807
for fn in objects:
808808
os.remove(fn)

0 commit comments

Comments
 (0)