summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-20 11:01:47 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-20 11:01:47 +0300
commit0ee980abae91c481009152cdccab8e61c9625303 (patch)
tree51bbe81e9346547c0f758a6399f5d326315a9bee /SConstruct
parent8772a7faca8156a502b12dda36e46cdb6904814f (diff)
downloadredot-cpp-0ee980abae91c481009152cdccab8e61c9625303.tar.gz
Rename OSX to macOS.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index ee63229..ef1a92a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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"