From e1bb9ee7a6b7dea0e0388ffb375447ad40f38499 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 11 Aug 2010 18:57:27 -0700 Subject: scons: Fix freebsd8 build. --- src/gallium/tests/unit/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gallium/tests/unit') diff --git a/src/gallium/tests/unit/SConscript b/src/gallium/tests/unit/SConscript index a0ad58ffa2..edc68e34d9 100644 --- a/src/gallium/tests/unit/SConscript +++ b/src/gallium/tests/unit/SConscript @@ -4,9 +4,12 @@ env = env.Clone() env.Prepend(LIBS = [gallium]) -if platform == 'sunos5': +if platform in ('freebsd8', 'sunos5'): env.Append(LIBS = ['m']) +if platform == 'freebsd8': + env.Append(LIBS = ['pthread']) + progs = [ 'pipe_barrier_test', 'u_cache_test', -- cgit v1.2.3