summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-02-02 16:59:23 +0100
committerBas Nieuwenhuizen <[email protected]>2018-02-07 14:04:04 +0100
commit5d754872b5721647dda17dd350bbe85d7a4dcec7 (patch)
tree56874ee6acc0deafb27eaf29b52615e8ef818060
parent9d322fde9781f9fc53c3baac6995ab1cbd8d6135 (diff)
autotools: Only build libmesa-st-tests-common.a for tests.
We don't need the library if we don't build tests, and building it adds a dependency on gtest which adds a dependency on cxxabi.h. Fixes: 6569b33b6e "mesa/st/tests: unify MockCodeLine* classes" Reviewed-By: Gert Wollny <[email protected]>
-rw-r--r--src/mesa/state_tracker/tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/tests/Makefile.am b/src/mesa/state_tracker/tests/Makefile.am
index cb585141ea6..cbb7447ee2c 100644
--- a/src/mesa/state_tracker/tests/Makefile.am
+++ b/src/mesa/state_tracker/tests/Makefile.am
@@ -20,7 +20,7 @@ if HAVE_SHARED_GLAPI
TESTS = st-renumerate-test
check_PROGRAMS = st-renumerate-test
-noinst_LIBRARIES = libmesa-st-tests-common.a
+check_LIBRARIES = libmesa-st-tests-common.a
endif
endif