diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-06 21:14:41 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-06 21:14:41 +0000 |
commit | 0d5d2277ba7ae30da0762ba396f861ad3f6d50bd (patch) | |
tree | 460f751f7940d3303a44c3c9674504509cb3a9cd /scipy_distutils/ccompiler.py | |
parent | 18900e11d111b51a491e7fbf5769c9acb4bf351f (diff) | |
download | numpy-0d5d2277ba7ae30da0762ba396f861ad3f6d50bd.tar.gz |
Disabled debug messages. On WinXP MSYS defines MSYSTEM instead of OSTYPE.
Diffstat (limited to 'scipy_distutils/ccompiler.py')
-rw-r--r-- | scipy_distutils/ccompiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scipy_distutils/ccompiler.py b/scipy_distutils/ccompiler.py index 08e69d000..7d148a138 100644 --- a/scipy_distutils/ccompiler.py +++ b/scipy_distutils/ccompiler.py @@ -13,7 +13,8 @@ if sys.platform == 'win32': compiler_class['mingw32'] = ('mingw32ccompiler', 'Mingw32CCompiler', "Mingw32 port of GNU C Compiler for Win32"\ "(for MSC built Python)") - if os.environ.get('OSTYPE','')=='msys': + if os.environ.get('OSTYPE','')=='msys' or \ + os.environ.get('MSYSTEM','')=='MINGW32': # On windows platforms, we want to default to mingw32 (gcc) # because msvc can't build blitz stuff. log.info('Setting mingw32 as default compiler for nt.') |