summaryrefslogtreecommitdiff
path: root/modules/gdnative/nativescript/SCsub
blob: ee3b9c351d1f6afa565155e16f58f4f856e66b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python

Import('env')

mod_env = env.Clone()
mod_env.add_source_files(env.modules_sources, "*.cpp")
mod_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])

if "platform" in env and env["platform"] in ["x11", "iphone"]:
    env.Append(LINKFLAGS=["-rdynamic"])

Export('mod_env')