mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-08 20:18:11 -05:00
nss: don't try to build nss plugin when disabled
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.
This commit is contained in:
+6
-2
@@ -158,7 +158,7 @@ EXTRA_DIST = \
|
||||
xml2sexprdata \
|
||||
xml2vmxdata
|
||||
|
||||
test_helpers = commandhelper ssh test_conf nsslinktest
|
||||
test_helpers = commandhelper ssh test_conf
|
||||
test_programs = virshtest sockettest \
|
||||
nodeinfotest virbuftest \
|
||||
commandtest seclabeltest \
|
||||
@@ -191,7 +191,6 @@ test_programs = virshtest sockettest \
|
||||
vircaps2xmltest \
|
||||
virnetdevtest \
|
||||
virtypedparamtest \
|
||||
nsstest \
|
||||
$(NULL)
|
||||
|
||||
if WITH_REMOTE
|
||||
@@ -330,6 +329,11 @@ if WITH_LINUX
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user