summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2012-08-29 23:16:44 -0700
committerBrian Paul <brianp@vmware.com>2012-08-31 08:24:38 -0600
commitc57fb034b19156e06e2ec25d9b06a0e174d861c9 (patch)
treeaa69aca7391f28ef3e9061a6d229337047be7621 /scons/gallium.py
parent43ed822a50db6b980041ddf91c16c7f8fccc4092 (diff)
scons: Add default libraries to Solaris build.
Fixes SCons build on Solaris. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54293 Signed-off-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'scons/gallium.py')
-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)