From d8798806f7e283e7da256357883de18bc79e4079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20Lothor=C3=A9?= Date: Thu, 16 Oct 2025 16:46:35 +0200 Subject: [PATCH] package/libcurl: reapply "libcurl: add host variant" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libcurl host build support has initially been added with 736e0fc5d610 ("libcurl: add host variant") while adding support for host-cargo build, and reverted with 69e84008abf8 ("Revert "libcurl: add host variant"") when standalone cargo build has been removed. In order to bring in an upcoming commit a new host package that depends on libcurl, re-enable host-libcurl build support. This reverts commit w9e84008abf87eaeeb3f2d53c880cf33492a3bf8, with the exception of the post-patch hook which is no longer needed. Signed-off-by: Alexis Lothoré Signed-off-by: Thomas Petazzoni --- package/libcurl/libcurl.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index d9a712bcb6..7ebf26c3b1 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -185,4 +185,16 @@ endef LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP endif +HOST_LIBCURL_DEPENDENCIES = host-openssl +HOST_LIBCURL_CONF_OPTS = \ + --disable-manual \ + --disable-ntlm-wb \ + --disable-curldebug \ + --with-ssl \ + --without-gnutls \ + --without-mbedtls \ + --without-nss \ + --without-libpsl + $(eval $(autotools-package)) +$(eval $(host-autotools-package))