[Mesa-dev] [PATCH] autotools: Only build libmesa-st-tests-common.a for tests.
Bas Nieuwenhuizen
basni at chromium.org
Fri Feb 2 15:59:23 UTC 2018
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"
---
src/mesa/state_tracker/tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/tests/Makefile.am b/src/mesa/state_tracker/tests/Makefile.am
index 3c7993dc8d..9ac2815c91 100644
--- a/src/mesa/state_tracker/tests/Makefile.am
+++ b/src/mesa/state_tracker/tests/Makefile.am
@@ -19,7 +19,7 @@ if HAVE_STD_CXX11
TESTS = st-renumerate-test
check_PROGRAMS = st-renumerate-test
-noinst_LIBRARIES = libmesa-st-tests-common.a
+check_LIBRARIES = libmesa-st-tests-common.a
endif
libmesa_st_tests_common_a_SOURCES = \
--
2.16.0.rc1.238.g530d649a79-goog
More information about the mesa-dev
mailing list