diff mbox series

curl: add PACKAGECONFIG for Schannel SSL/TLS support

Message ID 20251205092151.165521-1-samuli.piippo@qt.io
State New
Headers show
Series curl: add PACKAGECONFIG for Schannel SSL/TLS support | expand

Commit Message

Samuli Piippo Dec. 5, 2025, 9:21 a.m. UTC
Add new PACKAGECONFIG to enable the Windows native Schannel SSL/TLS
library support to be available for mingw32 builds.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
---
 meta/recipes-support/curl/curl_8.17.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-support/curl/curl_8.17.0.bb b/meta/recipes-support/curl/curl_8.17.0.bb
index 32585070eb..4d27b68d93 100644
--- a/meta/recipes-support/curl/curl_8.17.0.bb
+++ b/meta/recipes-support/curl/curl_8.17.0.bb
@@ -65,6 +65,7 @@  PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
 PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy,"
 PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
 PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp,"
+PACKAGECONFIG[schannel] = "--with-schannel,--without-schannel,"
 PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"
 PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp,"
 PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
@@ -79,7 +80,7 @@  EXTRA_OECONF = " \
     --disable-libcurl-option \
     --without-libpsl \
     --enable-optimize \
-    ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \
+    ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl schannel', d) == '') else ''} \
     WATT_ROOT=${STAGING_DIR_TARGET}${prefix} \
 "
 EXTRA_OECONF:append:class-target = " \