Skip to content

Commit

Permalink
Merge pull request #6481 from charris/foreport-gh-5765
Browse files Browse the repository at this point in the history
LIBPATH with spaces is now supported Python 2.7+ and Win32
  • Loading branch information
charris committed Oct 16, 2015
2 parents ddb41af + e149fac commit b7f20d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/distutils/ccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ def gen_lib_options(compiler, library_dirs, runtime_library_dirs, libraries):
# Also fix up the various compiler modules, which do
# from distutils.ccompiler import gen_lib_options
# Don't bother with mwerks, as we don't support Classic Mac.
for _cc in ['msvc', 'bcpp', 'cygwinc', 'emxc', 'unixc']:
_m = sys.modules.get('distutils.'+_cc+'compiler')
for _cc in ['msvc9', 'msvc', 'bcpp', 'cygwinc', 'emxc', 'unixc']:
_m = sys.modules.get('distutils.' + _cc + 'compiler')
if _m is not None:
setattr(_m, 'gen_lib_options', gen_lib_options)

Expand Down

0 comments on commit b7f20d9

Please sign in to comment.