[Mesa-dev] [PATCH 2/3] meson: Only build gallium state tracker tests with shared_glapi

Dylan Baker dylan at pnwbakers.com
Fri Oct 5 18:05:11 UTC 2018


This has always been a requirement, it's just somehow been missed in the
meson build.
---
 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index af881cff70b..73146d37143 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -82,7 +82,7 @@ if with_gallium
   subdir('gallium')
   # This has to be here since it requires libgallium, and subdir cannot
   # contain ..
-  if with_tests
+  if with_tests and with_shared_glapi
     subdir('mesa/state_tracker/tests')
   endif
 endif
-- 
2.19.0



More information about the mesa-dev mailing list