diff options
| author | Ralf Gommers <ralf.gommers@gmail.com> | 2016-08-13 05:58:00 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-13 05:58:00 +1200 |
| commit | 58e6015e7c8a21ce0ce666c048e7aea7333f3ff2 (patch) | |
| tree | 3d370508e1dc29c63d4f4471361753a5c48d2a57 | |
| parent | f927421ee4110d4d207c12e2d139bedb3f45094b (diff) | |
| parent | 0dd11bb6933f48cbe3d12f01832a3e1634dbd82a (diff) | |
| download | numpy-58e6015e7c8a21ce0ce666c048e7aea7333f3ff2.tar.gz | |
Merge pull request #7932 from charris/backport-7925
Backport 7925, Monkey-patch _msvccompile.gen_lib_option like any other compilators
| -rw-r--r-- | numpy/distutils/ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py index 2f2d63b59..af48d1d63 100644 --- a/numpy/distutils/ccompiler.py +++ b/numpy/distutils/ccompiler.py @@ -617,7 +617,7 @@ ccompiler.gen_lib_options = gen_lib_options # 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 ['msvc9', 'msvc', 'bcpp', 'cygwinc', 'emxc', 'unixc']: +for _cc in ['msvc9', 'msvc', '_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) |
