Author: Matti Picus <[email protected]>
Branch: 
Changeset: r69957:9ec1c621f45c
Date: 2014-03-14 17:05 +0200
http://bitbucket.org/pypy/pypy/changeset/9ec1c621f45c/

Log:    fix link error on untranslated win32 tests, only to discover tests
        hang on rffi cast in from_ref() in pyobject

diff --git a/pypy/module/cpyext/test/test_cpyext.py 
b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -64,6 +64,8 @@
         kwds["libraries"] = [api_library]
         # '%s' undefined; assuming extern returning int
         kwds["compile_extra"] = ["/we4013"]
+        # prevent linking with python27.lib
+        kwds["compile_extra"].append("/DPy_BUILD_CORE")
     elif sys.platform == 'darwin':
         kwds["link_files"] = [str(api_library + '.dylib')]
     else:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to