From: Dylan Baker Date: Mon, 9 Oct 2017 23:34:03 +0000 (-0700) Subject: meson: Don't try to install dri drivers unless one is built X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90b5ec6c5f225a1f6f4b23d1632b2d842ed7ece0;p=mesa.git 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 --- 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