summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/python/SConscript')
-rw-r--r--src/gallium/state_trackers/python/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/python/SConscript b/src/gallium/state_trackers/python/SConscript
index 781f54bf2b..aadeaa0a35 100644
--- a/src/gallium/state_trackers/python/SConscript
+++ b/src/gallium/state_trackers/python/SConscript
@@ -44,11 +44,10 @@ if 'python' in env['statetrackers']:
gallium,
])
- if 'llvmpipe' in env['drivers']:
+ if env['llvm']:
env.Append(CPPDEFINES = ['HAVE_LLVMPIPE'])
- env.Tool('llvm')
env.Prepend(LIBS = [llvmpipe])
- if 'softpipe' in env['drivers']:
+ if True:
env.Append(CPPDEFINES = ['HAVE_SOFTPIPE'])
env.Prepend(LIBS = [softpipe])