[PATCH 5/9] src: Build libvirt_nss.la iff WITH_NSS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux