git.samba.org
/
third_party
/
waf.waf15
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
791f73a
)
extract python link flags into uselib variables
author
Thomas Nagy
<tnagy2pow10@gmail.com>
Sun, 27 Oct 2013 13:59:01 +0000
(14:59 +0100)
committer
Thomas Nagy
<tnagy2pow10@gmail.com>
Sun, 27 Oct 2013 13:59:01 +0000
(14:59 +0100)
wafadmin/Tools/python.py
patch
|
blob
|
history
diff --git
a/wafadmin/Tools/python.py
b/wafadmin/Tools/python.py
index c2af3123f7270c8dceed9846c4241935cffe1c5e..b6fb7f1a8eda40fa70c697cae180b65863553361 100644
(file)
--- a/
wafadmin/Tools/python.py
+++ b/
wafadmin/Tools/python.py
@@
-10,6
+10,7
@@
import TaskGen, Utils, Options
from Logs import debug, warn, info
from TaskGen import extension, before, after, feature
from Configure import conf
+from config_c import parse_flags
EXT_PY = ['.py']
FRAG_2 = '''
@@
-213,7
+214,7
@@
MACOSX_DEPLOYMENT_TARGET = %r
env.append_value('LINKFLAGS_PYEMBED', lib)
if Options.platform != 'darwin' and python_LDFLAGS:
-
env.append_value('LINKFLAGS_PYEMBED', python_LDFLAGS.split()
)
+
parse_flags(python_LDFLAGS, 'PYEMBED', env
)
result = False
name = 'python' + env['PYTHON_VERSION']