From 423ed94f25a85a4802c62685984dbc316b676005 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 29 Aug 2012 23:16:44 -0700 Subject: [PATCH] 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 --- scons/gallium.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index 8fc17b3..dfed20f 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) -- 1.7.3.2