From d5e741d6d8ebffefa2851677643c6a1aeeb1d431 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 6 May 2010 14:20:13 +0100 Subject: graw-null: New target to ensure we always have a graw implementation available. --- src/gallium/tests/raw/SConscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gallium/tests') 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' -- cgit v1.2.3