Author: Antonio Cuni <[email protected]>
Branch:
Changeset: r62399:173c519a85ce
Date: 2013-03-18 16:16 +0000
http://bitbucket.org/pypy/pypy/changeset/173c519a85ce/
Log: for the series "how could this have ever worked?":
distutils.unixcompiler needs to know the CC to determine the correct
linker parameters
diff --git a/lib-python/2/distutils/sysconfig_pypy.py
b/lib-python/2/distutils/sysconfig_pypy.py
--- a/lib-python/2/distutils/sysconfig_pypy.py
+++ b/lib-python/2/distutils/sysconfig_pypy.py
@@ -61,6 +61,7 @@
g['SO'] = _get_so_extension() or ".so"
g['SOABI'] = g['SO'].rsplit('.')[0]
g['LIBDIR'] = os.path.join(sys.prefix, 'lib')
+ g['CC'] = "gcc -pthread" # -pthread might not be valid on OS/X, check
global _config_vars
_config_vars = g
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit