From: Fabrice Fontaine Date: Sat, 7 Aug 2021 16:34:44 +0000 (+0200) Subject: package/libvirt: nss needs yajl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9b496bf180c21ede9efda694f2dc88af05ddd16;p=buildroot.git package/libvirt: nss needs yajl nss can't be built without yajl since the additoon of the package in commit ccfc90e1010e42e6529afae3a5ea8bf7226dabc1: ../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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/libvirt/libvirt.mk b/package/libvirt/libvirt.mk index 108996942d..b36cf3fb60 100644 --- a/package/libvirt/libvirt.mk +++ b/package/libvirt/libvirt.mk @@ -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