summaryrefslogtreecommitdiff
path: root/src/gallium/tests/unit/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/unit/SConscript')
-rw-r--r--src/gallium/tests/unit/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/unit/SConscript b/src/gallium/tests/unit/SConscript
index 359759e22b..655e8a9b41 100644
--- a/src/gallium/tests/unit/SConscript
+++ b/src/gallium/tests/unit/SConscript
@@ -4,10 +4,10 @@ env = env.Clone()
env.Prepend(LIBS = [gallium])
-if platform in ('freebsd8', 'sunos5'):
+if env['platform'] in ('freebsd8', 'sunos5'):
env.Append(LIBS = ['m'])
-if platform == 'freebsd8':
+if env['platform'] == 'freebsd8':
env.Append(LIBS = ['pthread'])
progs = [