scons: Fix test for building dri/intel winsys.
authorMichel Dänzer <michel@tungstengraphics.com>
Tue, 1 Apr 2008 12:00:51 +0000 (13:00 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Tue, 1 Apr 2008 12:05:09 +0000 (13:05 +0100)
src/gallium/winsys/SConscript

index f18d3bd2f8e77b45cc56a49edf200476331a321d..e8a581adb21a1084b8dab23a4905576a70c17dcf 100644 (file)
@@ -1,6 +1,6 @@
 Import('*')
 
-if dri:
+if 'intel' in env['winsys'] and dri:
        SConscript([
                'dri/SConscript',
        ])