From 5cc4b4aaf43d038a2788522613f283e5f4b9182d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 30 Apr 2012 18:57:38 -0700 Subject: [PATCH] scons: Do not build EGL on Solaris. The current EGL headers do not support Solaris. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- src/SConscript | 2 +- src/gallium/SConscript | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SConscript b/src/SConscript index ba6be0be1a0..777ad23f2c9 100644 --- a/src/SConscript +++ b/src/SConscript @@ -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') diff --git a/src/gallium/SConscript b/src/gallium/SConscript index 962c1545f64..b61eba0390e 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -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' ]) -- 2.30.2