[Mesa-dev] [PATCH v2] scons: Include X11 path if X11 is available.
Vinson Lee
vlee at freedesktop.org
Sun Dec 23 22:59:41 PST 2012
This patch fixes these build errors.
glxinit.c:18:25: error: GL/glxproto.h: No such file or directory
glxinit.c:19:26: error: GL/glxtokens.h: No such file or directory
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/gallium/state_trackers/egl/SConscript | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/egl/SConscript b/src/gallium/state_trackers/egl/SConscript
index 2f7ac7e..21e9b44 100644
--- a/src/gallium/state_trackers/egl/SConscript
+++ b/src/gallium/state_trackers/egl/SConscript
@@ -27,6 +27,7 @@ else:
if env['drm']:
env.PkgUseModules('DRM')
if env['x11']:
+ env.Prepend(CPPPATH = env['X11_CPPPATH'])
env.Append(CPPDEFINES = ['HAVE_X11_BACKEND'])
env.Prepend(CPPPATH = [
'#/src/glx',
--
1.8.0.1
More information about the mesa-dev
mailing list