diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-09-11 14:16:30 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-09-11 15:34:08 +0200 |
commit | 6e52fce98660dc9eaa832d682bf38e2ea742e5b6 (patch) | |
tree | d3b59859a2dec39c1a43d87b6836e78f127738df /SConstruct | |
parent | a93af67d756e65161b81683c32fa66efd6f47ec6 (diff) | |
download | fork-godot-webrtc-native-6e52fce98660dc9eaa832d682bf38e2ea742e5b6.tar.gz fork-godot-webrtc-native-6e52fce98660dc9eaa832d682bf38e2ea742e5b6.tar.bz2 fork-godot-webrtc-native-6e52fce98660dc9eaa832d682bf38e2ea742e5b6.zip |
Update sources to alpha16
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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" |