From: Vinson Lee Date: Thu, 30 Aug 2012 06:16:44 +0000 (-0700) Subject: scons: Add default libraries to Solaris build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c57fb034b19156e06e2ec25d9b06a0e174d861c9;p=mesa.git 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 Signed-off-by: Brian Paul --- 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)