If the nss module is disabled we don't need to build the supplementary library for it either. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index d84c98440..0dd2faaf6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3022,6 +3022,7 @@ endif WITH_LIBVIRTD endif WITH_SECDRIVER_APPARMOR EXTRA_DIST += $(SECURITY_DRIVER_APPARMOR_HELPER_SOURCES) +if WITH_NSS noinst_LTLIBRARIES += libvirt-nss.la libvirt_nss_la_SOURCES = \ @@ -3087,6 +3088,7 @@ libvirt_nss_la_LDFLAGS = \ libvirt_nss_la_LIBADD = \ $(YAJL_LIBS) \ $(NULL) +endif WITH_NSS install-data-local: install-init install-systemd -- 2.11.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list