meson: Only build gallium state tracker tests with shared_glapi
authorDylan Baker <dylan@pnwbakers.com>
Fri, 5 Oct 2018 16:36:05 +0000 (09:36 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 9 Oct 2018 15:55:56 +0000 (08:55 -0700)
This has always been a requirement, it's just somehow been missed in the
meson build.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/meson.build

index af881cff70bf752a6474b7f4ecb615f82a7162cd..73146d37143430512fd6edc8485b04772c7006f0 100644 (file)
@@ -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