build: build libtest.la only on 'make check'
authorRan Benita <ran234@gmail.com>
Thu, 15 Aug 2013 06:32:42 +0000 (09:32 +0300)
committerRan Benita <ran234@gmail.com>
Thu, 15 Aug 2013 06:36:12 +0000 (09:36 +0300)
For those just running 'make', compiling libtest is wasted heat.

Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am

index 0e31100..8d92073 100644 (file)
@@ -108,7 +108,7 @@ endif ENABLE_DOCS
 
 # Some tests need to use unexported symbols, so we link them against
 # a private copy of libxkbcommon with all symbols exposed.
-noinst_LTLIBRARIES = libtest.la
+check_LTLIBRARIES = libtest.la
 libtest_la_CFLAGS = $(AM_CLFLAGS) -fvisibility=default
 libtest_la_SOURCES = \
        $(libxkbcommon_la_SOURCES) \