diff options
| author | Matthias Hoelzl | 2017-08-26 18:53:49 +0200 |
|---|---|---|
| committer | Matthias Hoelzl | 2017-08-27 23:05:39 +0200 |
| commit | b6e1e47e3a92c1b94ef327149068a8a147fc73f5 (patch) | |
| tree | 649111f4d36d3a1a12048db41e9d72026a787d6b /platform/osx | |
| parent | a919a013f53bdd9535d248ad9fdbb586c342a4d6 (diff) | |
| download | godot-b6e1e47e3a92c1b94ef327149068a8a147fc73f5.tar.gz godot-b6e1e47e3a92c1b94ef327149068a8a147fc73f5.tar.zst godot-b6e1e47e3a92c1b94ef327149068a8a147fc73f5.zip | |
Diffstat (limited to 'platform/osx')
| -rw-r--r-- | platform/osx/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 661da6e7c..d3ebdfe99 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -12,7 +12,7 @@ def get_name(): def can_build(): - if (sys.platform == "darwin" or os.environ.has_key("OSXCROSS_ROOT")): + if (sys.platform == "darwin" or ("OSXCROSS_ROOT" in os.environ)): return True return False |
