From 6e52fce98660dc9eaa832d682bf38e2ea742e5b6 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 11 Sep 2022 14:16:30 +0200 Subject: Update sources to alpha16 --- SConstruct | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index d352db5..66c6177 100644 --- a/SConstruct +++ b/SConstruct @@ -23,6 +23,9 @@ opts.Add(EnumVariable("godot_version", "The Godot target version", "4", ["3", "4 opts.Update(env) if env["godot_version"] == "3": + if "platform" in ARGUMENTS and ARGUMENTS["platform"] == "macos": + ARGUMENTS["platform"] = "osx" # compatibility with old osx name + env = SConscript("godot-cpp-3.x/SConstruct") # Patch base env @@ -41,6 +44,10 @@ if env["godot_version"] == "3": if env["platform"] == "windows" and env["use_mingw"]: env.Append(LINKFLAGS=["-static-libgcc"]) + if env["platform"] == "osx": + env["platform"] = "macos" # compatibility with old osx name + ARGUMENTS["platform"] = "macos" + # Normalize suffix if env["platform"] in ["windows", "linux"]: env["arch"] = "x86_32" if env["bits"] == "32" else "x86_64" -- cgit v1.2.3