2017-07-13 23:44:14 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import('env')
|
2018-09-28 11:29:52 +00:00
|
|
|
Import('env_gdnative')
|
2017-07-13 23:44:14 +00:00
|
|
|
|
2018-09-28 11:29:52 +00:00
|
|
|
env_gdnative.add_source_files(env.modules_sources, '*.cpp')
|
|
|
|
env_gdnative.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
|
2017-07-13 23:44:14 +00:00
|
|
|
|
2017-09-04 13:10:03 +00:00
|
|
|
if "platform" in env and env["platform"] in ["x11", "iphone"]:
|
|
|
|
env.Append(LINKFLAGS=["-rdynamic"])
|