summaryrefslogtreecommitdiff
path: root/modules/gdnative/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-25 22:23:49 +0200
committerGitHub <noreply@github.com>2017-09-25 22:23:49 +0200
commitdae02a90415b3af5ad2f14297e6259641cccef81 (patch)
tree50a40f2ea7eef14f39eda16a70e9494296492f57 /modules/gdnative/SCsub
parentc5da28f24cbab915098165b13f50bcda049e273e (diff)
parentf5b3b24c22186f50b3e57fc162ef9790f288c704 (diff)
Merge pull request #11580 from endragor/ios-export
Enhance iOS export
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