package/lxc: switch optional gnutls dependency to openssl

lxc switched from gnutls to openssl since version 3.2.0:
fa2bb6ba53

Patch was originally created by Fabrice Fontaine:
http://patchwork.ozlabs.org/patch/1148360/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2019-11-06 16:53:55 +01:00 committed by Peter Korsgaard
parent 3b722cdc4b
commit 1216a141f1

View File

@ -19,13 +19,6 @@ ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
LXC_DEPENDENCIES += bash-completion
endif
ifeq ($(BR2_PACKAGE_GNUTLS),y)
LXC_CONF_OPTS += --enable-gnutls
LXC_DEPENDENCIES += gnutls
else
LXC_CONF_OPTS += --disable-gnutls
endif
ifeq ($(BR2_PACKAGE_LIBCAP),y)
LXC_CONF_OPTS += --enable-capabilities
LXC_DEPENDENCIES += libcap
@ -47,4 +40,11 @@ else
LXC_CONF_OPTS += --disable-selinux
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LXC_CONF_OPTS += --enable-openssl
LXC_DEPENDENCIES += openssl
else
LXC_CONF_OPTS += --disable-openssl
endif
$(eval $(autotools-package))