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 <gw.fossdev@gmail.com>
This commit is contained in:
parent
9d322fde97
commit
5d754872b5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue