diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-19 09:54:00 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-19 09:54:00 +0000 |
commit | 637069d6fb2a70fa86cc27f06e6857440b7a91d2 (patch) | |
tree | 06a25499e6606b96117eb7726b0d06a78212ecc1 /numpy/distutils/command/build_ext.py | |
parent | 8f503fb985852ae7f9ad627e55bcac17c2a1272a (diff) | |
download | numpy-637069d6fb2a70fa86cc27f06e6857440b7a91d2.tar.gz |
Fix for win32 platform.
Diffstat (limited to 'numpy/distutils/command/build_ext.py')
-rw-r--r-- | numpy/distutils/command/build_ext.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index 483151ef9..6cc7ce5bd 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -390,6 +390,7 @@ class build_ext (old_build_ext): return def _libs_with_msvc_and_fortran(self, fcompiler, c_libraries, c_library_dirs): + if fcompiler is None: return # Always use system linker when using MSVC compiler. f_lib_dirs = [] for dir in fcompiler.library_dirs: |