package/libvirt: fix ssh2 option

Fix the following build failure raised since commit
fbf25acfbf:

output/build/libvirt-7.7.0/meson.build:1:0: ERROR: Unknown options: "ssh2"

Fixes:
 - No autobuilder failures (yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit c077b4a919)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine
2022-01-09 21:00:37 +01:00
committed by Peter Korsgaard
parent 29e4ff33c3
commit b7e5a5a791

View File

@@ -219,10 +219,10 @@ LIBVIRT_CONF_OPTS += -Dsasl=disabled
endif
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
LIBVIRT_CONF_OPTS += -Dssh2=enabled
LIBVIRT_CONF_OPTS += -Dlibssh2=enabled
LIBVIRT_DEPENDENCIES += libssh2
else
LIBVIRT_CONF_OPTS += -Dssh2=disabled
LIBVIRT_CONF_OPTS += -Dlibssh2=disabled
endif
ifeq ($(BR2_PACKAGE_LIBVIRT_LXC),y)