From 82e4e0d31326b0b64d72c00680116f09c40e2bc6 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 25 Jun 2025 14:52:19 +0200 Subject: [PATCH] package/libcurl: unbreak threads + c-ares conditional Commit 0fce7a9623 ("package/libcurl: fix build w/ threads + c-ares") added a conditional for threads + c-ares, but ended up with a end-parenthesis too many - so the condition is never true. Fix that. Reported-by: Tibault Damman Signed-off-by: Peter Korsgaard Reviewed-by: Baruch Siach Signed-off-by: Peter Korsgaard (cherry picked from commit 17399baa7c857aadeb52b849ec5e9f32b4f4221d) Signed-off-by: Thomas Perale --- package/libcurl/libcurl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 5a3a668f06..e390c9d1bf 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -38,7 +38,7 @@ LIBCURL_IGNORE_CVES += CVE-2024-32928 # threaded resolver cannot be used with c-ares # https://github.com/curl/curl/commit/d364f1347f05c53eea5d25a15b4ad8a62ecc85b8 -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)x$(BR2_PACKAGE_C_ARES)),yx) +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)x$(BR2_PACKAGE_C_ARES),yx) LIBCURL_CONF_OPTS += --enable-threaded-resolver else LIBCURL_CONF_OPTS += --disable-threaded-resolver