summaryrefslogtreecommitdiff
path: root/numpy/distutils/mingw32ccompiler.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-11-17 12:07:36 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-11-17 12:07:36 +0000
commit67ba879a2e62e381c5f285beecdc4bcc69b6daff (patch)
tree8b975518edb16ba92f251c6d32037d3ccff0e51f /numpy/distutils/mingw32ccompiler.py
parent3a6c367a0f1cadd8d7d898e04bca148b64d85116 (diff)
downloadnumpy-67ba879a2e62e381c5f285beecdc4bcc69b6daff.tar.gz
Fix configtest and manifest_name.
Diffstat (limited to 'numpy/distutils/mingw32ccompiler.py')
-rw-r--r--numpy/distutils/mingw32ccompiler.py6
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)