summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/raw
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-06 14:20:13 +0100
committerJosé Fonseca <[email protected]>2010-05-06 14:20:13 +0100
commitd5e741d6d8ebffefa2851677643c6a1aeeb1d431 (patch)
tree2caf239efe7c87a36bf6e2b188ec2fffb2038574 /src/gallium/tests/raw
parent2b322ad147a42ac0bf0f51bffab99e4d5650132d (diff)
graw-null: New target to ensure we always have a graw implementation available.
Diffstat (limited to 'src/gallium/tests/raw')
-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 1b172e070fe..8a92ac2c499 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'