[Mesa-dev] [PATCH v2 05/21] meson: Don't try to install dri drivers unless one is built

Dylan Baker dylan at pnwbakers.com
Thu Oct 12 17:38:32 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>
---
 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 cc2272eff6d..f114dcf0156 100644
--- a/src/mesa/drivers/dri/meson.build
+++ b/src/mesa/drivers/dri/meson.build
@@ -29,7 +29,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