On Sat, Dec 15, 2012 at 5:34 PM, Vinson Lee v...@freedesktop.org wrote:
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 v...@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..43b9dcb 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.PkgUseModules('X11')
env.Append(CPPDEFINES = ['HAVE_X11_BACKEND'])
env.Prepend(CPPPATH = [
'#/src/glx',
I'm not really familiar with the scons build, but would this make it
link with libX11 and friends? That seems like overkill when you just
need the glproto package installed to get the headers.
--
Dan
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev