scons: Don't build loader on Windows.
[mesa.git] / src / SConscript
index 40b7fc151de72f47019649dbb6f8a733952b8829..b0578e892583c14a0759a4196bc17b5e92b0440a 100644 (file)
@@ -12,7 +12,8 @@ if env['hostonly']:
     # compilation
     Return()
 
-SConscript('loader/SConscript')
+if env['platform'] != 'windows':
+    SConscript('loader/SConscript')
 
 # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
 # used.  libgl-xlib and libgl-gdi adapt themselves to use the targets defined