From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 28 Sep 2022 14:17:13 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1odW01-00HKw5-Sg for lore@lore.pengutronix.de; Wed, 28 Sep 2022 14:17:13 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1odW01-0001vX-0P; Wed, 28 Sep 2022 14:17:13 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odVz2-0001F0-Om; Wed, 28 Sep 2022 14:16:12 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1odVz3-003Pgq-F7; Wed, 28 Sep 2022 14:16:12 +0200 Received: from localhost ([::1] helo=blackshift.org) by dude02.red.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1odVz0-005ZPs-GK; Wed, 28 Sep 2022 14:16:10 +0200 From: Marc Kleine-Budde To: ptxdist@pengutronix.de Date: Wed, 28 Sep 2022 14:16:05 +0200 Message-Id: <20220928121609.1209927-2-mkl@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220928121609.1209927-1-mkl@pengutronix.de> References: <20220928121609.1209927-1-mkl@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v3 1/5] libcurl: fix configure if no SSL backend is selected X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Marc Kleine-Budde Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false If no SSL backend is selected configure will fail with the following error: | configure: error: TLS not detected, you will not be able to use HTTPS, FTPS, NTLM and more. | Use --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, | --with-nss, --with-schannel, --with-secure-transport, --with-amissl, | --with-bearssl or --with-rustls to address this. Fixes: 34db9dd470bd ("libcurl: Version bump. 7.84.0 -> 7.85.0") Signed-off-by: Marc Kleine-Budde --- rules/libcurl.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/libcurl.make b/rules/libcurl.make index 0d0ac9ea33d0..5da835d730a8 100644 --- a/rules/libcurl.make +++ b/rules/libcurl.make @@ -93,6 +93,7 @@ LIBCURL_CONF_OPT := \ --without-schannel \ --without-secure-transport \ --without-amissl \ + --$(call ptx/wwo,PTXCONF_LIBCURL_SSL)-ssl \ --with-openssl=$(call ptx/ifdef, PTXCONF_LIBCURL_SSL_OPENSSL,$(SYSROOT)/usr,no) \ --with-gnutls=$(call ptx/ifdef, PTXCONF_LIBCURL_SSL_GNUTLS,$(SYSROOT)/usr,no) \ --without-mbedtls \ -- 2.30.2