diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 17:23:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 17:24:02 +0100 |
commit | e7a29b6b9b2f842314244c23c14d8f8f560904e1 (patch) | |
tree | d2dcbaf61f3749f73dc7a5e10d3fc6cd5e6e129a /Tools/python.py | |
parent | 8280f9de69f93624896b8875caf039066cac0314 (diff) | |
download | autowaf-e7a29b6b9b2f842314244c23c14d8f8f560904e1.tar.gz autowaf-e7a29b6b9b2f842314244c23c14d8f8f560904e1.tar.bz2 autowaf-e7a29b6b9b2f842314244c23c14d8f8f560904e1.zip |
Upgrade to waf 2.0.15
Diffstat (limited to 'Tools/python.py')
-rw-r--r-- | Tools/python.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/python.py b/Tools/python.py index 25841d0..01a2c9a 100644 --- a/Tools/python.py +++ b/Tools/python.py @@ -329,6 +329,10 @@ def check_python_headers(conf, features='pyembed pyext'): conf.find_program([''.join(pybin) + '-config', 'python%s-config' % num, 'python-config-%s' % num, 'python%sm-config' % num], var='PYTHON_CONFIG', msg="python-config", mandatory=False) if env.PYTHON_CONFIG: + # check python-config output only once + if conf.env.HAVE_PYTHON_H: + return + # python2.6-config requires 3 runs all_flags = [['--cflags', '--libs', '--ldflags']] if sys.hexversion < 0x2070000: |