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/targets/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gallium/targets/SConscript') diff --git a/src/gallium/targets/SConscript b/src/gallium/targets/SConscript index 1292d4f6193..be5db88e41c 100644 --- a/src/gallium/targets/SConscript +++ b/src/gallium/targets/SConscript @@ -10,10 +10,13 @@ if 'gdi' in env['winsys']: 'libgl-gdi/SConscript', ]) -if 'graw-xlib' in env['winsys']: +if env['platform'] == 'linux' and 'xlib' in env['winsys'] and 'graw-xlib' in env['winsys']: SConscript([ 'graw-xlib/SConscript', ]) +else: + SConscript('graw-null/SConscript') + if env['dri']: SConscript([ -- cgit v1.2.3