aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Eric Le Bihan <eric.le.bihan.dev@free.fr>2018-02-04 19:07:46 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-02-05 14:57:48 +0100
commit736e0fc5d6103300fb5d6b0cde5e22ce978b8a80 (patch)
tree8c32130a2f8ab6304eff5190b03883de9cb7d96b
parent31847c297d412f1e97d51d6d1526d2bfab6031ae (diff)
downloadbuildroot-736e0fc5d6103300fb5d6b0cde5e22ce978b8a80.tar.gz
buildroot-736e0fc5d6103300fb5d6b0cde5e22ce978b8a80.tar.bz2
libcurl: add host variant
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libcurl/libcurl.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index a1d2aa7a60..39ed3e4da5 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -88,4 +88,18 @@ 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-polarssl \
+ --without-nss
+
+HOST_LIBCURL_POST_PATCH_HOOKS += LIBCURL_FIX_DOT_PC
+
$(eval $(autotools-package))
+$(eval $(host-autotools-package))