Commit 5b7f76689809d243a5b43632921d6d9464369079

Ran Benita 2013-08-15T09:32:42

build: build libtest.la only on 'make check' For those just running 'make', compiling libtest is wasted heat. Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile.am b/Makefile.am
index 0e31100..8d92073 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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) \