swr: add linux to scons build
[mesa.git] / src / gallium / targets / libgl-xlib / SConscript
index d01bb3c2563b5e684885c51dfe854622ed48e02d..a81ac79325156f5011b43c1547a103d042eb551d 100644 (file)
@@ -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':