Skip to content

Commit b11f56b

Browse files
committed
MinGW: Misc test fixes
1 parent a0e0938 commit b11f56b

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 or "")))
806806
finally:
807807
for fn in objects:
808808
os.remove(fn)

0 commit comments

Comments
 (0)