[pypy-commit] pypy default: Windows: when _CFFI_ is defined, don't link with python27.lib at all.
arigo
noreply at buildbot.pypy.org
Fri May 22 00:54:42 CEST 2015
Author: Armin Rigo <arigo at 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.) */
More information about the pypy-commit
mailing list