diff options
author | David Robillard <d@drobilla.net> | 2019-04-14 18:03:16 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-14 18:24:08 +0200 |
commit | 7887266eaf79f020dae2dd0126dbf732e167a751 (patch) | |
tree | 3a22565bc33f5b15c191d8585bc84599836c33f7 /waflib/Tools/python.py | |
parent | ee834a83860e614d565f5bb38cdfb8681ffa5f16 (diff) | |
parent | 4806680e7b17a83c14ea2b64c8ab6277a8b380b1 (diff) | |
download | pugl-7887266eaf79f020dae2dd0126dbf732e167a751.tar.gz pugl-7887266eaf79f020dae2dd0126dbf732e167a751.tar.bz2 pugl-7887266eaf79f020dae2dd0126dbf732e167a751.zip |
Update autowaf
Diffstat (limited to 'waflib/Tools/python.py')
-rw-r--r-- | waflib/Tools/python.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/waflib/Tools/python.py b/waflib/Tools/python.py index 25841d0..01a2c9a 100644 --- a/waflib/Tools/python.py +++ b/waflib/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: |