summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/meson.build2
1 files changed, 1 insertions, 1 deletions
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