package/libvirt: fix build without libvirtd

Fix the following build failure without libvirtd raised since the
addition of the package in commit
ccfc90e101 and
89064c9e37:

../output-1/build/libvirt-7.10.0/meson.build:1518:2: ERROR: Problem encountered: Requested the Interface driver without netcf or udev and libvirtd support

Fixes:
 - http://autobuild.buildroot.org/results/e43101c6d7f626439ef800263b8f5dfa99ce850b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-03-04 18:38:51 +01:00 committed by Peter Korsgaard
parent 3d7f852ac5
commit 87f1dd7b52

View File

@ -39,7 +39,6 @@ LIBVIRT_CONF_OPTS = \
-Ddriver_ch=disabled \
-Ddriver_esx=disabled \
-Ddriver_hyperv=disabled \
-Ddriver_interface=enabled \
-Ddriver_libxl=disabled \
-Ddriver_openvz=disabled \
-Ddriver_remote=enabled \
@ -196,7 +195,10 @@ endif
ifeq ($(BR2_PACKAGE_LIBVIRT_DAEMON),y)
# Network is used by daemon, only
LIBVIRT_CONF_OPTS += -Ddriver_libvirtd=enabled -Ddriver_network=enabled
LIBVIRT_CONF_OPTS += \
-Ddriver_interface=enabled \
-Ddriver_libvirtd=enabled \
-Ddriver_network=enabled
ifeq ($(BR2_PACKAGE_LIBSSH),y)
LIBVIRT_CONF_OPTS += -Dlibssh=enabled
@ -235,7 +237,10 @@ endif
else # BR2_PACKAGE_LIBVIRT_DAEMON
LIBVIRT_CONF_OPTS += -Ddriver_libvirtd=disabled -Ddriver_network=disabled
LIBVIRT_CONF_OPTS += \
-Ddriver_interface=disabled \
-Ddriver_libvirtd=disabled \
-Ddriver_network=disabled
endif