diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-07-20 11:01:47 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-07-20 11:01:47 +0300 |
commit | 0ee980abae91c481009152cdccab8e61c9625303 (patch) | |
tree | 51bbe81e9346547c0f758a6399f5d326315a9bee /SConstruct | |
parent | 8772a7faca8156a502b12dda36e46cdb6904814f (diff) | |
download | redot-cpp-0ee980abae91c481009152cdccab8e61c9625303.tar.gz |
Rename OSX to macOS.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,7 +20,7 @@ def add_sources(sources, dir, extension): if sys.platform.startswith("linux"): default_platform = "linux" elif sys.platform == "darwin": - default_platform = "osx" + default_platform = "macos" elif sys.platform == "win32" or sys.platform == "msys": default_platform = "windows" elif ARGUMENTS.get("platform", ""): @@ -48,7 +48,7 @@ if env.GetOption("num_jobs") == altered_num_jobs: ) env.SetOption("num_jobs", safer_cpu_count) -platforms = ("linux", "osx", "windows", "android", "ios", "javascript") +platforms = ("linux", "macos", "windows", "android", "ios", "javascript") opts = Variables([], ARGUMENTS) opts.Add( EnumVariable( @@ -110,7 +110,7 @@ if env["arch"] == "": # No architecture specified. Default to arm64 if building for Android, # universal if building for macOS or iOS, wasm32 if building for web, # otherwise default to the host architecture. - if env["platform"] in ["osx", "ios"]: + if env["platform"] in ["macos", "ios"]: env["arch"] = "universal" elif env["platform"] == "android": env["arch"] = "arm64" |