Include swr library and include -DHAVE_SWR in the compile line.
v3: split to a separate commit
9aae167 gallium: Add support for SWR compilation
src/gallium/targets/libgl-gdi/SConscript | 4 ++++
src/gallium/targets/libgl-xlib/SConscript | 4 ++++
src/gallium/targets/osmesa/SConscript | 4 ++++
3 files changed, 12 insertions(+)
Upstream: cgit.freedesktop.org