From 16979e2f3d8e3288ebe82bf76bca1299877f7879 Mon Sep 17 00:00:00 2001
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
Date: Thu, 21 Jun 2018 09:37:58 -0500
Subject: [PATCH 4/4] Use custom function for python_header checking on Darwin
 too

---
 wscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wscript b/wscript
index 33f9064..19a7d72 100644
--- a/wscript
+++ b/wscript
@@ -92,7 +92,7 @@ def configure(conf):
         conf.env.PYTHON = conf.options.python
     conf.load('python')
     conf.check_python_version(minver=(2,7,0))
-    if isWindows:
+    if isWindows or isDarwin:
         # Search for the Python headers without doing some stuff that could
         # incorrectly fail on Windows. See my_check_python_headers below.
         conf.my_check_python_headers()
-- 
2.5.4 (Apple Git-61)

