From: Thomas Haller Date: Fri, 12 May 2017 10:40:45 +0000 (+0200) Subject: build: don't build cli libraries by default X-Git-Tag: libnl3_4_0rc1~9^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=144c6c5e6a31cbcfad9e55256a2b1e20b238b24a;p=libnl build: don't build cli libraries by default When configuring with --enable-cli=no, we should not build the libraries related the cli. This fixes commit 3cb2853 (build: enable building cli during tests) which enables building of cli during `make check`. However, during regular build, these libraries should not get build. Signed-off-by: Thomas Haller --- diff --git a/Makefile.am b/Makefile.am index aaf44c8..2b817f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -521,7 +521,7 @@ pkglib_qdiscdir = $(pkglibdir)/cli/qdisc pkglib_cls_LTLIBRARIES = $(lib_cli_ltlibraries_cls) pkglib_qdisc_LTLIBRARIES = $(lib_cli_ltlibraries_qdisc) else -noinst_LTLIBRARIES += \ +check_LTLIBRARIES += \ $(lib_cli_ltlibraries_cls) \ $(lib_cli_ltlibraries_qdisc) endif