package/axel: fix openssl build

Replace --with-ssl by --with-ssl=openssl to avoid the following build
failure raised since bump to version 2.17.12 in commit
50ba0b0a40 and
21ccacd0c3:

configure: error: Invalid argument: --with-ssl=yes

While at it, also add wolfssl support available since
0759374239

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2024-01-30 23:21:38 +01:00 committed by Yann E. MORIN
parent 393f549418
commit d26991f76b

View File

@ -19,8 +19,11 @@ AXEL_CONF_OPTS = \
CFLAGS="$(TARGET_CFLAGS)"
ifeq ($(BR2_PACKAGE_OPENSSL),y)
AXEL_CONF_OPTS += --with-ssl
AXEL_CONF_OPTS += --with-ssl=openssl
AXEL_DEPENDENCIES += openssl
else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
AXEL_CONF_OPTS += --with-ssl=wolfssl
AXEL_DEPENDENCIES += wolfssl
else
AXEL_CONF_OPTS += --without-ssl
endif