summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-xlib
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2017-04-13 08:44:08 -0500
committerGeorge Kyriazis <[email protected]>2017-04-14 10:59:46 -0500
commit870760e02e7388455c4af4e15f9e4c7e680e4b4d (patch)
treea2aad86e12396789958e94c5ec1695278516894a /src/gallium/targets/libgl-xlib
parente20eb91e2bfef045d6806838e6453bc6ddb2e238 (diff)
swr: add linux to scons build
Make swr compile for both linux and windows. Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/targets/libgl-xlib')
-rw-r--r--src/gallium/targets/libgl-xlib/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-xlib/SConscript b/src/gallium/targets/libgl-xlib/SConscript
index d01bb3c2563..a81ac793251 100644
--- a/src/gallium/targets/libgl-xlib/SConscript
+++ b/src/gallium/targets/libgl-xlib/SConscript
@@ -49,7 +49,7 @@ if env['llvm']:
env.Prepend(LIBS = [llvmpipe])
if env['swr']:
- env.Append(CPPDEFINES = 'HAVE_SWR')
+ env.Append(CPPDEFINES = 'GALLIUM_SWR')
env.Prepend(LIBS = [swr])
if env['platform'] != 'darwin':