diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-03-09 17:39:14 +0100 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-03-09 17:39:14 +0100 |
commit | a6f768f029f9bc18a8dd34cf13a8a3d764773703 (patch) | |
tree | b40400823c3273862fe0ebd4c38d67b7209a7347 /src | |
parent | 886ceb556e1f6ba1e51a33abd9b8c3d8214d2554 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/SConscript b/src/gallium/state_trackers/glx/xlib/SConscript index 01641e90e4..0dbe341397 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', |