diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-04-04 00:25:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 00:25:03 +0200 |
commit | 46bc14e66fe90430f1d74cdab6cca6acb5b2a3f6 (patch) | |
tree | 6d761531804ce9bb8e78b297598e06bea57dbe7b /modules/dlscript/SCsub | |
parent | 57badfd1df3a554b7f47793e73a887874e5ca2b1 (diff) | |
parent | fd553087867187220d4f6b8217854dd8e9be2667 (diff) |
Merge pull request #8246 from GodotNativeTools/dlscript-module
DLScript module
Diffstat (limited to 'modules/dlscript/SCsub')
-rw-r--r-- | modules/dlscript/SCsub | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/dlscript/SCsub b/modules/dlscript/SCsub new file mode 100644 index 0000000000..ac13319a1d --- /dev/null +++ b/modules/dlscript/SCsub @@ -0,0 +1,14 @@ +#!/usr/bin/env python + +Import('env') + +env.add_source_files(env.modules_sources, "*.cpp") +env.add_source_files(env.modules_sources, "godot/*.cpp") + +env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN']) + +if "platform" in env and env["platform"] == "x11": # there has to be a better solution? + env.Append(LINKFLAGS=["-rdynamic"]) +env.use_ptrcall = True + +Export('env') |