diff options
-rw-r--r-- | numpy/distutils/mingw32ccompiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py index 264710138..ddcce9c06 100644 --- a/numpy/distutils/mingw32ccompiler.py +++ b/numpy/distutils/mingw32ccompiler.py @@ -268,6 +268,8 @@ def build_import_library(): raise ValueError("Unhandled arch %s" % arch) def _build_import_library_amd64(): + out_name = "libpython%d%d.a" % tuple(sys.version_info[:2]) + out_file = os.path.join(sys.prefix, 'libs', out_name) log.info('Building import library (arch=AMD64): "%s"' % (out_file)) def _build_import_library_x86(): |