Author: Armin Rigo <[email protected]>
Branch: release-0.8
Changeset: r1537:c63026a567f1
Date: 2014-07-05 18:40 +0200
http://bitbucket.org/cffi/cffi/changeset/c63026a567f1/
Log: A workaround by Alex Gaynor for a bug in distutils that shows up on
OS/X
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -43,6 +43,8 @@
def ask_supports_thread():
from distutils.core import Distribution
+ from distutils.sysconfig import get_config_vars
+ get_config_vars() # workaround for a bug of distutils, e.g. on OS/X
config = Distribution().get_command_obj('config')
ok = config.try_compile('__thread int some_threadlocal_variable_42;')
if ok:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit