summaryrefslogtreecommitdiff
path: root/numpy/distutils/ccompiler.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-05-19 19:44:42 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-05-19 19:44:42 +0000
commit02df1be4949d7583a662bca6c0fe61d7afc334a7 (patch)
treead1a1e051c32810640d9c8613bdad50275ea0de6 /numpy/distutils/ccompiler.py
parent0168bce06a2d0266a2d337a2f587ec1327d19fb4 (diff)
downloadnumpy-02df1be4949d7583a662bca6c0fe61d7afc334a7.tar.gz
Clean up and completed (hopefully) MSVC support.
Diffstat (limited to 'numpy/distutils/ccompiler.py')
-rw-r--r--numpy/distutils/ccompiler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py
index 059fd0ec4..b3c131316 100644
--- a/numpy/distutils/ccompiler.py
+++ b/numpy/distutils/ccompiler.py
@@ -288,6 +288,7 @@ def CCompiler_get_version(self, force=0, ok_status=[0]):
replace_method(CCompiler, 'get_version', CCompiler_get_version)
def CCompiler_cxx_compiler(self):
+ if self.compiler_type=='msvc': return self
cxx = copy(self)
cxx.compiler_so = [cxx.compiler_cxx[0]] + cxx.compiler_so[1:]
if sys.platform.startswith('aix') and 'ld_so_aix' in cxx.linker_so[0]: