From f5b3b24c22186f50b3e57fc162ef9790f288c704 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Mon, 4 Sep 2017 20:10:03 +0700 Subject: 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. --- modules/gdnative/nativescript/SCsub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/gdnative/nativescript') diff --git a/modules/gdnative/nativescript/SCsub b/modules/gdnative/nativescript/SCsub index e980e40e8e..178afec64a 100644 --- a/modules/gdnative/nativescript/SCsub +++ b/modules/gdnative/nativescript/SCsub @@ -7,4 +7,7 @@ mod_env.add_source_files(env.modules_sources, "*.cpp") mod_env.Append(CPPPATH='#modules/gdnative') mod_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN']) +if "platform" in env and env["platform"] in ["x11", "iphone"]: + env.Append(LINKFLAGS=["-rdynamic"]) + Export('mod_env') -- cgit v1.2.3