summaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-11-05 22:59:36 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-11-09 20:04:40 +0200
commitd4d5d68edaf9bb8f2f62b9938b21df9fd3ab3336 (patch)
tree36c516b4c1f53bd55ba2ddcd0db60873967ffc78 /platform
parentc2246a5a6fe1da1815245a54342ef96da9515263 (diff)
downloadredot-engine-d4d5d68edaf9bb8f2f62b9938b21df9fd3ab3336.tar.gz
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/detect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/detect.py b/platform/ios/detect.py
index 40eb61abc8..26d81c8ed6 100644
--- a/platform/ios/detect.py
+++ b/platform/ios/detect.py
@@ -105,6 +105,7 @@ def configure(env: "Environment"):
detect_darwin_sdk_path("iossimulator", env)
env.Append(ASFLAGS=["-mios-simulator-version-min=12.0"])
env.Append(CCFLAGS=["-mios-simulator-version-min=12.0"])
+ env.Append(CPPDEFINES=["IOS_SIMULATOR"])
env.extra_suffix = ".simulator" + env.extra_suffix
else:
detect_darwin_sdk_path("ios", env)