diff options
author | Alexander von Gluck IV <kallisti5@unixzen.com> | 2012-01-16 12:42:05 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2012-01-17 20:01:14 +0000 |
commit | 64ae209d50e2d28f46a3f0c6880e40e94ba23569 (patch) | |
tree | 541e10e7fcfea05238fa6467b6423f15a478a437 /scons | |
parent | 4ba4853c0a613f771b44806cd5ce376838479802 (diff) |
scons: Add Haiku build support
Enables building stock Mesa under the Haiku operating system.
Diffstat (limited to 'scons')
-rwxr-xr-x | scons/gallium.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 221d1848f6..5a0c6fef13 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -289,6 +289,8 @@ def generate(env): cppdefines += ['_DEBUG'] if platform == 'windows': cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_USER'] + if platform == 'haiku': + cppdefines += ['BEOS_THREADS'] if env['embedded']: cppdefines += ['PIPE_SUBSYSTEM_EMBEDDED'] env.Append(CPPDEFINES = cppdefines) |