diff options
Diffstat (limited to 'numpy/distutils/mingw32ccompiler.py')
-rw-r--r-- | numpy/distutils/mingw32ccompiler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py index 2633064cf..17711360b 100644 --- a/numpy/distutils/mingw32ccompiler.py +++ b/numpy/distutils/mingw32ccompiler.py @@ -308,14 +308,14 @@ def check_embedded_msvcr_match_linked(msver): "(%d)" % (int(msver), maj) def configtest_name(config): - base = os.path.basename(config._gen_temp_sourcefile("yo", [], lang)) + base = os.path.basename(config._gen_temp_sourcefile("yo", [], "c")) return os.path.splitext(base)[0] def manifest_name(config): # Get configest name (including suffix) root = configtest_name(config) - exext = self.compiler.exe_extension - return root + exect + ".manifest" + exext = config.compiler.exe_extension + return root + exext + ".manifest" def rc_name(config): # Get configest name (including suffix) |