[pypy-commit] pypy default: (mvt) Fix for OS/X.

arigo noreply at buildbot.pypy.org
Mon Jun 13 13:06:35 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r44904:13d05d5dd512
Date: 2011-06-13 13:08 +0200
http://bitbucket.org/pypy/pypy/changeset/13d05d5dd512/

Log:	(mvt) Fix for OS/X.

diff --git a/pypy/rlib/ropenssl.py b/pypy/rlib/ropenssl.py
--- a/pypy/rlib/ropenssl.py
+++ b/pypy/rlib/ropenssl.py
@@ -134,7 +134,8 @@
 
 def external(name, argtypes, restype, **kw):
     kw['compilation_info'] = eci
-    eci.export_symbols += (name,)
+    if not kw.get('macro', False):
+        eci.export_symbols += (name,)
     return rffi.llexternal(
         name, argtypes, restype, **kw)
 


More information about the pypy-commit mailing list