[Buildroot] [git commit] package/axel: fix openssl build

Yann E. MORIN yann.morin.1998 at free.fr
Sun Feb 4 21:35:06 UTC 2024


commit: https://git.buildroot.net/buildroot/commit/?id=d26991f76b0f6b57282c71a045e5f5fecb8f0374
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Replace --with-ssl by --with-ssl=openssl to avoid the following build
failure raised since bump to version 2.17.12 in commit
50ba0b0a40187b695740a2fce2d2f3ed7cbf58c5 and
https://github.com/axel-download-accelerator/axel/commit/21ccacd0c3bb415c550d590cd64aaa9bf08997a8:

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

While at it, also add wolfssl support available since
https://github.com/axel-download-accelerator/axel/commit/0759374239acaeac4105f4851cfabc28433f3bcd

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/axel/axel.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/axel/axel.mk b/package/axel/axel.mk
index b3896e86e3..d3a2f4d42c 100644
--- a/package/axel/axel.mk
+++ b/package/axel/axel.mk
@@ -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



More information about the buildroot mailing list