summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-06-29 14:51:47 +0200
committerGitHub <noreply@github.com>2023-06-29 14:51:47 +0200
commited3771ced0a66f868eef2e6212e9b69eee2b8429 (patch)
treeddc198fc46cb40d2fd6935a0f5665f034a38c49b /SConstruct
parent931a7551f56e28b440a9887b557eecc9a840bda5 (diff)
parentac3bdb361383610601116d730bd6f02fb2fe7f1c (diff)
downloadfork-godot-webrtc-native-ed3771ced0a66f868eef2e6212e9b69eee2b8429.tar.gz
fork-godot-webrtc-native-ed3771ced0a66f868eef2e6212e9b69eee2b8429.tar.bz2
fork-godot-webrtc-native-ed3771ced0a66f868eef2e6212e9b69eee2b8429.zip
Merge pull request #108 from Faless/fix/normalize_ios_min_version
Better normalize the GDNative build environment.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 58b501b..dfd237f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -57,6 +57,10 @@ if env["godot_version"] == "3":
if env["platform"] == "osx":
env["platform"] = "macos" # compatibility with old osx name
ARGUMENTS["platform"] = "macos"
+ env["CC"] = "clang" # CC is not set in 3.x and can result in it being "gcc".
+
+ if env["platform"] == "ios":
+ env["ios_min_version"] = "11.0"
# Normalize suffix
if env["platform"] in ["windows", "linux"]: