Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libcurl: enable mbedtls support
@ 2016-01-06 18:53 Gustavo Zacarias
  2016-02-01 16:27 ` Luca Ceresoli
  2016-03-08 20:26 ` Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Gustavo Zacarias @ 2016-01-06 18:53 UTC (permalink / raw)
  To: buildroot

Now that we've got an mbedtls package in the tree we can enable the
optional support for it in libcurl.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libcurl/libcurl.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index 10514c6..8798d71 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -40,10 +40,12 @@ else ifeq ($(BR2_PACKAGE_LIBNSS),y)
 LIBCURL_CONF_OPTS += --with-nss=$(STAGING_DIR)/usr
 LIBCURL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) `$(PKG_CONFIG_HOST_BINARY) nspr nss --cflags`"
 LIBCURL_DEPENDENCIES += libnss
+else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
+LIBCURL_CONF_OPTS += --with-mbedtls=$(STAGING_DIR)/usr
+LIBCURL_DEPENDENCIES += mbedtls
 else
-# polarssl support needs 1.3.x
 LIBCURL_CONF_OPTS += --without-ssl --without-gnutls \
-	--without-polarssl --without-nss
+	--without-polarssl --without-nss --without-mbedtls
 endif
 
 ifeq ($(BR2_PACKAGE_C_ARES),y)
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-08 20:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-06 18:53 [Buildroot] [PATCH] libcurl: enable mbedtls support Gustavo Zacarias
2016-02-01 16:27 ` Luca Ceresoli
2016-02-01 16:34   ` Gustavo Zacarias
2016-02-01 17:52     ` Luca Ceresoli
2016-02-01 17:56       ` Gustavo Zacarias
2016-02-01 18:02         ` Luca Ceresoli
2016-02-01 18:03           ` Gustavo Zacarias
2016-02-01 18:07             ` Luca Ceresoli
2016-02-01 18:08               ` Gustavo Zacarias
2016-03-08 20:26 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox