From 90b5ec6c5f225a1f6f4b23d1632b2d842ed7ece0 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 9 Oct 2017 16:34:03 -0700 Subject: 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 Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/meson.build') 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 -- cgit v1.2.3