summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-05-12 10:40:45 (GMT)
committerThomas Haller <thaller@redhat.com>2017-05-12 10:46:34 (GMT)
commit144c6c5e6a31cbcfad9e55256a2b1e20b238b24a (patch)
tree9f1ee4431c7e0b796d74517024c7ff5c9de8ac46
parent286a86c75eb860df1ee58f369e47e396aa228d2f (diff)
downloadlibnl-144c6c5e6a31cbcfad9e55256a2b1e20b238b24a.zip
libnl-144c6c5e6a31cbcfad9e55256a2b1e20b238b24a.tar.gz
libnl-144c6c5e6a31cbcfad9e55256a2b1e20b238b24a.tar.bz2
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 <thaller@redhat.com>
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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