From c4d944b58218531c1bb1ae6219b2f0c634e4e950 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Sun, 1 Sep 2024 10:09:48 -0400 Subject: [PATCH] Use unmodified WAF check_python_headers on Windows Unsure why this was needed in the first place as it seems to build fine now. Presumably lots of things have been fixed in WAF since this was a problem. --- wscript | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/wscript b/wscript index e26dabbe..79bdf3e1 100644 --- a/wscript +++ b/wscript @@ -91,13 +91,7 @@ def configure(conf): conf.env.PYTHON = conf.options.python conf.load('python') conf.check_python_version(minver=(3,7,0)) - if isWindows: - # Search for the Python headers without doing some stuff that could - # 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: - conf.check_python_headers(features='pyext') + conf.check_python_headers(features='pyext') # fetch and save the debug options conf.env.debug = conf.options.debug