summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/SCsub
diff options
context:
space:
mode:
authorRuslan Mustakov <r.mustakov@gmail.com>2017-09-04 20:10:03 +0700
committerRuslan Mustakov <r.mustakov@gmail.com>2017-09-26 00:18:08 +0700
commitf5b3b24c22186f50b3e57fc162ef9790f288c704 (patch)
tree7c828580f53b83a847fc676b6f1c70e3da7bec60 /modules/gdnative/SCsub
parent14b4ad931f54c73aff9021a1314943278295e602 (diff)
downloadredot-engine-f5b3b24c22186f50b3e57fc162ef9790f288c704.tar.gz
Enhance iOS export
- The export process now builds complete .ipa on macOS, instead of just creating XCode project. - The project includes Capabilities games usually require: Game Center, Push Notifications, In-App Purchase. - Icons and launch screens can be specified in export preset.
Diffstat (limited to 'modules/gdnative/SCsub')
-rw-r--r--modules/gdnative/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub
index f386f2b542..39f5ec5378 100644
--- a/modules/gdnative/SCsub
+++ b/modules/gdnative/SCsub
@@ -11,7 +11,7 @@ gdn_env.add_source_files(env.modules_sources, "nativescript/*.cpp")
gdn_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
gdn_env.Append(CPPPATH=['#modules/gdnative/include/'])
-if "platform" in env and env["platform"] == "x11": # there has to be a better solution?
+if "platform" in env and env["platform"] in ["x11", "iphone"]:
env.Append(LINKFLAGS=["-rdynamic"])
env.use_ptrcall = True