diff options
Diffstat (limited to 'platform/haiku')
-rw-r--r-- | platform/haiku/SCsub | 1 | ||||
-rw-r--r-- | platform/haiku/detect.py | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/platform/haiku/SCsub b/platform/haiku/SCsub index 23e5e2e711..d0c244a194 100644 --- a/platform/haiku/SCsub +++ b/platform/haiku/SCsub @@ -20,6 +20,7 @@ target = env.Program( command = env.Command('#bin/godot.rsrc', '#platform/haiku/godot.rdef', ['rc -o $TARGET $SOURCE']) + def addResourcesAction(target=None, source=None, env=None): return env.Execute('xres -o ' + File(target)[0].path + ' bin/godot.rsrc') diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py index e64be0a188..71202a9a49 100644 --- a/platform/haiku/detect.py +++ b/platform/haiku/detect.py @@ -1,12 +1,15 @@ import os import sys + def is_active(): return True + def get_name(): return "Haiku" + def can_build(): if (os.name != "posix"): return False @@ -16,15 +19,18 @@ def can_build(): return True + def get_opts(): return [ ('debug_release', 'Add debug symbols to release version', 'no') ] + def get_flags(): return [ ] + def configure(env): is64 = sys.maxsize > 2**32 |