summaryrefslogtreecommitdiff
path: root/src/gallium/tests/graw/SConscript
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-08-11 18:57:27 -0700
committerVinson Lee <vlee@vmware.com>2010-08-11 18:57:27 -0700
commite1bb9ee7a6b7dea0e0388ffb375447ad40f38499 (patch)
treee7a5f8f0aefdb08ac33649bc89b63803c19d7721 /src/gallium/tests/graw/SConscript
parent4a859cd12fa47811c9f4d3773bb5e3506f89f2b4 (diff)
scons: Fix freebsd8 build.
Diffstat (limited to 'src/gallium/tests/graw/SConscript')
-rw-r--r--src/gallium/tests/graw/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript
index 7e39ec21a4..860a17e13e 100644
--- a/src/gallium/tests/graw/SConscript
+++ b/src/gallium/tests/graw/SConscript
@@ -11,9 +11,12 @@ env = env.Clone()
env.Prepend(LIBPATH = [graw.dir])
env.Prepend(LIBS = ['graw'] + gallium)
-if platform == 'sunos5':
+if platform in ('freebsd8', 'sunos5'):
env.Append(LIBS = ['m'])
+if platform == 'freebsd8':
+ env.Append(LIBS = ['pthread'])
+
progs = [
'clear',
'tri',