Mesa (master): meson: Only build gallium state tracker tests with shared_glapi

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 9 15:56:45 UTC 2018


Module: Mesa
Branch: master
Commit: d84f003b9532b0e9386be6caabaf5bfc91645d69
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d84f003b9532b0e9386be6caabaf5bfc91645d69

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Fri Oct  5 09:36:05 2018 -0700

meson: Only build gallium state tracker tests with shared_glapi

This has always been a requirement, it's just somehow been missed in the
meson build.

Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

---

 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index af881cff70..73146d3714 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




More information about the mesa-commit mailing list