diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/mingw32ccompiler.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py index bbe2fd7a3..1e6ee9570 100644 --- a/numpy/distutils/mingw32ccompiler.py +++ b/numpy/distutils/mingw32ccompiler.py @@ -307,9 +307,12 @@ def check_embedded_msvcr_match_linked(msver): "(%d) and the one about to be embedded " \ "(%d)" % (int(msver), maj) +def configtest_name(config): + base = os.path.basename(config._gen_temp_sourcefile("yo", [], lang)) + return os.path.splitext(base)[0] + def manifest_name(config): # Get configest name (including suffix) - base = os.path.basename(config._gen_temp_sourcefile("yo", [], lang)) - root, ext = os.path.splitext(base) + root = configtest_name(config) exext = self.compiler.exe_extension return root + exect + ".manifest" |