Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r77466:632e36bf8182
Date: 2015-05-22 00:54 +0200
http://bitbucket.org/pypy/pypy/changeset/632e36bf8182/

Log:    Windows: when _CFFI_ is defined, don't link with python27.lib at
        all.

diff --git a/pypy/module/cpyext/include/pyconfig.h 
b/pypy/module/cpyext/include/pyconfig.h
--- a/pypy/module/cpyext/include/pyconfig.h
+++ b/pypy/module/cpyext/include/pyconfig.h
@@ -28,7 +28,7 @@
 #endif
 
 #ifndef Py_BUILD_CORE /* not building the core - must be an ext */
-#    if defined(_MSC_VER)
+#    if defined(_MSC_VER) && !defined(_CFFI_)
      /* So MSVC users need not specify the .lib file in
       * their Makefile (other compilers are generally
       * taken care of by distutils.) */
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to