From b7d0902004db9c1fdaeb65f5d952ccd5d0484fd3 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 20 Jun 2019 21:53:11 -0700 Subject: [PATCH] Switch back to the default conf.check_python_headers for darwin (cherry picked from commit 77daf712595fd1cd198303b7e569e399c193f22a) --- wscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index b4e241f7..87b7bad8 100644 --- a/wscript +++ b/wscript @@ -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: