diff options
| author | Karroffel <therzog@mail.de> | 2017-04-09 21:07:53 +0200 |
|---|---|---|
| committer | Karroffel <therzog@mail.de> | 2017-04-09 21:07:53 +0200 |
| commit | c7f8b22ba07c27ceb91307a178ee7520677018e1 (patch) | |
| tree | e4770c5a7991330852d9229e74c5a195ba627185 /modules/gdnative/SCsub | |
| parent | 0198d2e03cfb8506e4a5c0f45efc43a1ac5d8d1a (diff) | |
| download | redot-engine-c7f8b22ba07c27ceb91307a178ee7520677018e1.tar.gz | |
renamed dlscript module to gdnative
Diffstat (limited to 'modules/gdnative/SCsub')
| -rw-r--r-- | modules/gdnative/SCsub | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub new file mode 100644 index 0000000000..ac13319a1d --- /dev/null +++ b/modules/gdnative/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') |
