From: Bas Nieuwenhuizen Date: Fri, 2 Feb 2018 15:59:23 +0000 (+0100) Subject: autotools: Only build libmesa-st-tests-common.a for tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d754872b5721647dda17dd350bbe85d7a4dcec7;p=mesa.git 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 --- 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