Even if nss is disabled, the build system tries to build some
targets like libnss_libvirt_impl.la and nsstest. Hide those
under the "if WITH_NSS" block like the rest of NSS plugin bits.
xml2sexprdata \
xml2vmxdata
-test_helpers = commandhelper ssh test_conf nsslinktest
+test_helpers = commandhelper ssh test_conf
test_programs = virshtest sockettest \
nodeinfotest virbuftest \
commandtest seclabeltest \
vircaps2xmltest \
virnetdevtest \
virtypedparamtest \
- nsstest \
$(NULL)
if WITH_REMOTE
test_programs += virscsitest
endif WITH_LINUX
+if WITH_NSS
+test_helpers += nsslinktest
+test_programs += nsstest
+endif WITH_NSS
+
test_programs += storagevolxml2xmltest storagepoolxml2xmltest
test_programs += nodedevxml2xmltest
nss/libvirt_nss.c \
nss/libvirt_nss.h
+if WITH_NSS
noinst_LTLIBRARIES += nss/libnss_libvirt_impl.la
nss_libnss_libvirt_impl_la_SOURCES = \
$(LIBVIRT_NSS_SOURCES)
../gnulib/lib/libgnu.la \
../src/libvirt-nss.la
-if WITH_NSS
nss_libnss_libvirt_la_SOURCES =
nss_libnss_libvirt_la_LDFLAGS = \
$(VERSION_SCRIPT_FLAGS)$(LIBVIRT_NSS_SYMBOL_FILE) \