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.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 771a38d3214..2601f151f0e 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -64,6 +64,14 @@ if with_gallium_nouveau
gallium_dri_link_with += [libnouveauwinsys, libnouveau]
gallium_dri_drivers += 'nouveau_dri.so'
endif
+if with_gallium_softpipe
+ gallium_dri_c_args += '-DGALLIUM_SOFTPIPE'
+ gallium_dri_link_with += libsoftpipe
+ gallium_dri_drivers += 'swrast_dri.so'
+ if with_gallium_drisw_kms
+ gallium_dri_drivers += 'kms_swrast_dri.so'
+ endif
+endif
libgallium_dri = shared_library(
'gallium_dri',