Merge pull request #11904 from N0hbdy/master

Fix python 3 build in osx-specific platform

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-10-07 10:55:16 +02:00 committed by GitHub
commit bd10a00240
1 changed files with 1 additions and 1 deletions

View File

@ -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'])