8000 Merge pull request #6481 from charris/foreport-gh-5765 · numpy/numpy@b7f20d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit b7f20d9

Browse files
committed
Merge pull request #6481 from charris/foreport-gh-5765
LIBPATH with spaces is now supported Python 2.7+ and Win32
2 parents ddb41af + e149fac commit b7f20d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/distutils/ccompiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,8 @@ def gen_lib_options(compiler, library_dirs, runtime_library_dirs, libraries):
617617
# Also fix up the various compiler modules, which do
618618
# from distutils.ccompiler import gen_lib_options
619619
# Don't bother with mwerks, as we don't support Classic Mac.
620-
for _cc in ['msvc', 'bcpp', 'cygwinc', 'emxc', 'unixc']:
621-
_m = sys.modules.get('distutils.'+_cc+'compiler')
620+
for _cc in ['msvc9', 'msvc', 'bcpp', 'cygwinc', 'emxc', 'unixc']:
621+
_m = sys.modules.get('distutils.' + _cc + 'compiler')
622622
if _m is not None:
623623
setattr(_m, 'gen_lib_options', gen_lib_options)
624624

0 commit comments

Comments
 (0)
0