[pypy-commit] pypy default: Fix "bin/py.py --withmod-_ssl --withmod-thread"
amauryfa
noreply at buildbot.pypy.org
Sun Dec 9 22:41:58 CET 2012
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r59373:aa7ecc6b380e
Date: 2012-12-07 19:15 +0100
http://bitbucket.org/pypy/pypy/changeset/aa7ecc6b380e/
Log: Fix "bin/py.py --withmod-_ssl --withmod-thread"
diff --git a/pypy/module/_ssl/thread_lock.py b/pypy/module/_ssl/thread_lock.py
--- a/pypy/module/_ssl/thread_lock.py
+++ b/pypy/module/_ssl/thread_lock.py
@@ -62,13 +62,14 @@
}
"""
+from pypy.module.thread import ll_thread
-eci = ExternalCompilationInfo(
+eci = ll_thread.eci.merge(ExternalCompilationInfo(
separate_module_sources=[separate_module_source],
post_include_bits=[
"int _PyPy_SSL_SetupThreads(void);"],
export_symbols=['_PyPy_SSL_SetupThreads'],
-)
+))
_PyPy_SSL_SetupThreads = rffi.llexternal('_PyPy_SSL_SetupThreads',
[], rffi.INT,
More information about the pypy-commit
mailing list