From 1e6c10f4be9e36cc052a6b47fb2cb1eae60caa00 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 31 May 2010 11:47:58 +0800 Subject: egl: Use SConscript for Windows build. Fix several portability issues and add SConscript for Windows build. --- src/gallium/targets/SConscript | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/gallium/targets') diff --git a/src/gallium/targets/SConscript b/src/gallium/targets/SConscript index 9077cbf6a4..519dbff7fd 100644 --- a/src/gallium/targets/SConscript +++ b/src/gallium/targets/SConscript @@ -3,15 +3,16 @@ Import('*') # Compatibility with old build scripts: # -if 'xlib' in env['winsys']: - SConscript([ - 'libgl-xlib/SConscript', - ]) +if 'mesa' in env['statetrackers']: + if 'xlib' in env['winsys']: + SConscript([ + 'libgl-xlib/SConscript', + ]) -if 'gdi' in env['winsys']: - SConscript([ - 'libgl-gdi/SConscript', - ]) + if 'gdi' in env['winsys']: + SConscript([ + 'libgl-gdi/SConscript', + ]) if not 'graw-xlib' in env['targets'] and not env['msvc']: # XXX: disable until MSVC can link correctly -- cgit v1.2.3