]> granicus.if.org Git - libnl/commitdiff
build: don't build cli libraries by default
authorThomas Haller <thaller@redhat.com>
Fri, 12 May 2017 10:40:45 +0000 (12:40 +0200)
committerThomas Haller <thaller@redhat.com>
Fri, 12 May 2017 10:46:34 +0000 (12:46 +0200)
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>
Makefile.am

index aaf44c8a473121334051845213f431c5e65d4977..2b817f4a185b0d0b704b3940ac1727ca19506a19 100644 (file)
@@ -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