[Numpy-svn] r6163 - branches/numpy-mingw-w64/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Fri Dec 19 03:22:22 CST 2008


Author: cdavid
Date: 2008-12-19 03:22:18 -0600 (Fri, 19 Dec 2008)
New Revision: 6163

Modified:
   branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py
Log:
Fix missing out filename.

Modified: branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py
===================================================================
--- branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py	2008-12-19 09:18:08 UTC (rev 6162)
+++ branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py	2008-12-19 09:22:18 UTC (rev 6163)
@@ -268,6 +268,8 @@
         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():



More information about the Numpy-svn mailing list