summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-09 16:34:03 -0700
committerDylan Baker <[email protected]>2017-10-16 16:32:43 -0700
commit90b5ec6c5f225a1f6f4b23d1632b2d842ed7ece0 (patch)
treeb3da1c5b0fa2e51bd542e63b887f9be87b509175 /src/mesa/drivers/dri/meson.build
parent601bd7296fa464fe146f57c4ea89e3cad06749e9 (diff)
meson: Don't try to install dri drivers unless one is built
This confused the with_dri flag which is meant to control Direct Rendering Infrastructure, not classic drivers Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/meson.build')
-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