mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
src: Build libvirt_nss.la iff WITH_NSS
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>
This commit is contained in:
parent
a94769ce27
commit
70b0a8e542
@ -3022,6 +3022,7 @@ endif WITH_LIBVIRTD
|
|||||||
endif WITH_SECDRIVER_APPARMOR
|
endif WITH_SECDRIVER_APPARMOR
|
||||||
EXTRA_DIST += $(SECURITY_DRIVER_APPARMOR_HELPER_SOURCES)
|
EXTRA_DIST += $(SECURITY_DRIVER_APPARMOR_HELPER_SOURCES)
|
||||||
|
|
||||||
|
if WITH_NSS
|
||||||
noinst_LTLIBRARIES += libvirt-nss.la
|
noinst_LTLIBRARIES += libvirt-nss.la
|
||||||
|
|
||||||
libvirt_nss_la_SOURCES = \
|
libvirt_nss_la_SOURCES = \
|
||||||
@ -3087,6 +3088,7 @@ libvirt_nss_la_LDFLAGS = \
|
|||||||
libvirt_nss_la_LIBADD = \
|
libvirt_nss_la_LIBADD = \
|
||||||
$(YAJL_LIBS) \
|
$(YAJL_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
endif WITH_NSS
|
||||||
|
|
||||||
|
|
||||||
install-data-local: install-init install-systemd
|
install-data-local: install-init install-systemd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user