summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri/meson.build')
-rw-r--r--src/gallium/targets/dri/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 2601f151f0e..2dc0de6a4d0 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -71,6 +71,10 @@ if with_gallium_softpipe
if with_gallium_drisw_kms
gallium_dri_drivers += 'kms_swrast_dri.so'
endif
+ if with_llvm
+ gallium_dri_c_args += '-DGALLIUM_LLVMPIPE'
+ gallium_dri_link_with += libllvmpipe
+ endif
endif
libgallium_dri = shared_library(