[Mesa-dev] [PATCH v3 05/21] meson: Don't try to install dri drivers unless one is built
Dylan Baker
dylan at pnwbakers.com
Fri Oct 13 22:05:11 UTC 2017
This confused the with_dri flag which is meant to control Direct
Rendering Infrastructure, not classic drivers
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/mesa/drivers/dri/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.14.2
More information about the mesa-dev
mailing list