From a0c6fa68fba2b2443333a302dc4ae410f3a0cd9e Mon Sep 17 00:00:00 2001 From: N0hbdy Date: Sat, 7 Oct 2017 00:01:36 -0700 Subject: [PATCH] Fix python 3 build in osx-specific platform --- platform/osx/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/osx/detect.py b/platform/osx/detect.py index f66c3f00dad..31032659b64 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -62,7 +62,7 @@ def configure(env): ## Compiler configuration - if (not os.environ.has_key("OSXCROSS_ROOT")): # regular native build + if "OSXCROSS_ROOT" not in os.environ: # regular native build if (env["bits"] == "fat"): env.Append(CCFLAGS=['-arch', 'i386', '-arch', 'x86_64']) env.Append(LINKFLAGS=['-arch', 'i386', '-arch', 'x86_64'])