summaryrefslogtreecommitdiff
path: root/src/gallium/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests')
-rw-r--r--src/gallium/tests/raw/SConscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/tests/raw/SConscript b/src/gallium/tests/raw/SConscript
index 1b172e070f..8a92ac2c49 100644
--- a/src/gallium/tests/raw/SConscript
+++ b/src/gallium/tests/raw/SConscript
@@ -1,12 +1,15 @@
Import('*')
-if 'graw-xlib' not in env['winsys']:
+try:
+ graw
+except NameError:
+ print 'warning: graw library not avaiable: skipping build of graw test'
Return()
env = env.Clone()
env.Prepend(LIBPATH = [graw.dir])
-env.Prepend(LIBS = [graw.name])
+env.Prepend(LIBS = ['graw'])
progs = [
'clear'