package/libvirt: nss needs yajl

nss can't be built without yajl since the additoon of the package in
commit ccfc90e101:

../output-1/build/libvirt-7.4.0/meson.build:1986:6: ERROR: Problem encountered: Can't build nss plugin without yajl

Fixes:
 - http://autobuild.buildroot.org/results/18db9ec30d5e60fbe9f5096c3fd1a30396e11856

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-08-07 18:34:44 +02:00 committed by Thomas Petazzoni
parent 27b032941a
commit c9b496bf18

View File

@ -187,8 +187,8 @@ else
LIBVIRT_CONF_OPTS += -Dlibssh=disabled
endif
# Can't build nss plugin without network
ifeq ($(BR2_PACKAGE_LIBNSS),y)
# Can't build nss plugin without network or yajl
ifeq ($(BR2_PACKAGE_LIBNSS)$(BR2_PACKAGE_YAJL),yy)
LIBVIRT_CONF_OPTS += -Dnss=enabled
LIBVIRT_DEPENDENCIES += libnss
else