summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 8fc17b3fa4a..dfed20f9e19 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -498,7 +498,8 @@ def generate(env):
# Default libs
libs = []
- if env['platform'] in ('posix', 'linux', 'freebsd', 'darwin'):
+ print env['platform']
+ if env['platform'] in ('darwin', 'freebsd', 'linux', 'posix', 'sunos'):
libs += ['m', 'pthread', 'dl']
env.Append(LIBS = libs)