diff options
author | José Fonseca <[email protected]> | 2010-05-06 14:20:13 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-05-06 14:20:13 +0100 |
commit | d5e741d6d8ebffefa2851677643c6a1aeeb1d431 (patch) | |
tree | 2caf239efe7c87a36bf6e2b188ec2fffb2038574 /src/gallium/tests | |
parent | 2b322ad147a42ac0bf0f51bffab99e4d5650132d (diff) |
graw-null: New target to ensure we always have a graw implementation available.
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/raw/SConscript | 7 |
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' |