summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/meson.build b/src/mesa/drivers/dri/meson.build
index 63cfcce8399..36079324d41 100644
--- a/src/mesa/drivers/dri/meson.build
+++ b/src/mesa/drivers/dri/meson.build
@@ -32,7 +32,7 @@ if with_dri_i965
subdir('i965')
endif
-if with_dri
+if dri_drivers != []
libmesa_dri_drivers = shared_library(
'mesa_dri_drivers',
dummy_cpp, # see meson #2180