From 5d754872b5721647dda17dd350bbe85d7a4dcec7 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 2 Feb 2018 16:59:23 +0100 Subject: [PATCH] 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 --- 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 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 -- 2.30.2