From a6f768f029f9bc18a8dd34cf13a8a3d764773703 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Mon, 9 Mar 2009 17:39:14 +0100 Subject: [PATCH] scons: Also define USE_XSHM for the glx/xlib state tracker build. Fixes an inconsisten definition of struct xmesa_buffer between there and winsys/xlib, resulting in a crash in XPutImage. --- src/gallium/state_trackers/glx/xlib/SConscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/state_trackers/glx/xlib/SConscript b/src/gallium/state_trackers/glx/xlib/SConscript index 01641e90e47..0dbe3413972 100644 --- a/src/gallium/state_trackers/glx/xlib/SConscript +++ b/src/gallium/state_trackers/glx/xlib/SConscript @@ -14,6 +14,8 @@ if env['platform'] == 'linux' \ '#/src/mesa/main', ]) + env.Append(CPPDEFINES = ['USE_XSHM']) + st_xlib = env.ConvenienceLibrary( target = 'st_xlib', source = [ 'glxapi.c', -- 2.30.2