scons: Do not build EGL on Solaris.
authorVinson Lee <vlee@freedesktop.org>
Tue, 1 May 2012 01:57:38 +0000 (18:57 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 4 May 2012 05:58:35 +0000 (22:58 -0700)
The current EGL headers do not support Solaris.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/SConscript
src/gallium/SConscript

index ba6be0be1a0a1b916c53ec08669f9b6a8c07f221..777ad23f2c904104b1d0cc4133914bd55f8708ea 100644 (file)
@@ -24,7 +24,7 @@ SConscript('mapi/vgapi/SConscript')
 if not env['embedded']:
     if env['platform'] not in ['windows', 'darwin', 'haiku']:
         SConscript('glx/SConscript')
-    if env['platform'] not in ['darwin', 'haiku']:
+    if env['platform'] not in ['darwin', 'haiku', 'sunos']:
         SConscript('egl/main/SConscript')
     if env['platform'] not in ['darwin']:
         SConscript('glu/sgi/SConscript')
index 962c1545f6432285d343f798a2713678451c82cc..b61eba0390e19acfdbbdc7261b939206e483d941 100644 (file)
@@ -58,7 +58,7 @@ SConscript('winsys/sw/null/SConscript')
 
 if not env['embedded']:
     SConscript('state_trackers/vega/SConscript')
-    if env['platform'] not in ['darwin', 'haiku']:
+    if env['platform'] not in ['darwin', 'haiku', 'sunos']:
         SConscript('state_trackers/egl/SConscript')
 
     if env['x11']:
@@ -124,7 +124,7 @@ SConscript([
 ])
 
 if not env['embedded']:
-    if env['platform'] not in ['darwin', 'haiku']:
+    if env['platform'] not in ['darwin', 'haiku', 'sunos']:
         SConscript([
             'targets/egl-static/SConscript'
         ])