summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorN0hbdy <austen.mcrae@gmail.com>2017-10-07 00:01:36 -0700
committerN0hbdy <austen.mcrae@gmail.com>2017-10-07 00:01:36 -0700
commita0c6fa68fba2b2443333a302dc4ae410f3a0cd9e (patch)
tree4db46f46e161e716f5a94d239ed35cd676d91d13 /platform
parent195b12212d96494c3c7260c44442fcdfe27060e5 (diff)
Fix python 3 build in osx-specific platform
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py
index f66c3f00da..31032659b6 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'])