Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63581:c3af9cfd2f5b
Date: 2013-04-23 20:19 -0700
http://bitbucket.org/pypy/pypy/changeset/c3af9cfd2f5b/
Log: update the export to fix compiling on windows
diff --git a/lib_pypy/_ctypes_test.py b/lib_pypy/_ctypes_test.py
--- a/lib_pypy/_ctypes_test.py
+++ b/lib_pypy/_ctypes_test.py
@@ -31,13 +31,13 @@
library = os.path.join(thisdir, '..', 'include', 'libpypy-c')
if not os.path.exists(library + '.lib'):
#For a nightly build
- library = os.path.join(thisdir, '..', 'include', 'python27')
+ library = os.path.join(thisdir, '..', 'include', 'python3')
if not os.path.exists(library + '.lib'):
# For a local translation
library = os.path.join(thisdir, '..', 'pypy', 'goal', 'libpypy-c')
libraries = [library, 'oleaut32']
extra_ldargs = ['/MANIFEST', # needed for VC10
- '/EXPORT:init_ctypes_test']
+ '/EXPORT:PyInit__ctypes_test']
else:
libraries = []
extra_ldargs = []
diff --git a/lib_pypy/_testcapi.py b/lib_pypy/_testcapi.py
--- a/lib_pypy/_testcapi.py
+++ b/lib_pypy/_testcapi.py
@@ -31,13 +31,13 @@
library = os.path.join(thisdir, '..', 'include', 'libpypy-c')
if not os.path.exists(library + '.lib'):
#For a nightly build
- library = os.path.join(thisdir, '..', 'include', 'python27')
+ library = os.path.join(thisdir, '..', 'include', 'python3')
if not os.path.exists(library + '.lib'):
# For a local translation
library = os.path.join(thisdir, '..', 'pypy', 'goal', 'libpypy-c')
libraries = [library, 'oleaut32']
extra_ldargs = ['/MANIFEST', # needed for VC10
- '/EXPORT:init_testcapi']
+ '/EXPORT:PyInit__testcapi']
else:
libraries = []
extra_ldargs = []
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit