db2c357793
from maintainer
18 lines
643 B
Plaintext
18 lines
643 B
Plaintext
$OpenBSD: patch-wafadmin_Tools_python_py,v 1.2 2010/04/24 17:37:54 jasper Exp $
|
|
|
|
We remove the flag "-pthread" because waf is complety incapable to
|
|
treat it correctly when it is in LIB_PYEMBED variable (it adds '-l').
|
|
|
|
--- wafadmin/Tools/python.py.orig Fri Feb 19 18:43:54 2010
|
|
+++ wafadmin/Tools/python.py Sat Apr 24 19:31:49 2010
|
|
@@ -215,6 +215,9 @@ MACOSX_DEPLOYMENT_TARGET = %r
|
|
result = False
|
|
name = 'python' + env['PYTHON_VERSION']
|
|
|
|
+ env['LIB_PYEMBED'].remove('-pthread')
|
|
+ env['LINKFLAGS_PYEMBED'].append('-pthread')
|
|
+
|
|
if python_LIBDIR is not None:
|
|
path = [python_LIBDIR]
|
|
conf.log.write("\n\n# Trying LIBDIR: %r\n" % path)
|