Switch back to the default conf.check_python_headers for darwin

(cherry picked from commit 77daf71259)
This commit is contained in:
Robin Dunn
2019-06-20 21:53:11 -07:00
parent 2bfa54af35
commit b7d0902004

View File

@@ -102,10 +102,9 @@ def configure(conf):
conf.env.PYTHON = conf.options.python
conf.load('python')
conf.check_python_version(minver=(2,7,0))
if isWindows or isDarwin:
if isWindows:
# Search for the Python headers without doing some stuff that could
# incorrectly fail on Windows. Seems to help on Darwin too. See
# my_check_python_headers below.
# incorrectly fail on Windows. See my_check_python_headers below.
# TODO: Check if it can/should be used on other platforms too.
conf.my_check_python_headers()
else: