]> xenbits.xensource.com Git - libvirt.git/commitdiff
src: Build libvirt_nss.la iff WITH_NSS
authorMichal Privoznik <mprivozn@redhat.com>
Sun, 25 Dec 2016 14:56:57 +0000 (15:56 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 2 Jan 2017 12:25:42 +0000 (13:25 +0100)
If the nss module is disabled we don't need to build the
supplementary library for it either.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/Makefile.am

index d84c984403ca7aea8745ce8e351aeb595ba7f80b..0dd2faaf6b6bef66a5e1c5d34c6b121c3dabd3a6 100644 (file)
@@ -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