From c657f310aec5f52c9782389cdf7357a0b96158f4 Mon Sep 17 00:00:00 2001
From: Tibor Nagy <xnagytibor@gmail.com>
Date: Sat, 24 Feb 2018 10:45:04 +0100
Subject: [PATCH] curl: Enable zlib support

---
 recipes/curl/recipe.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/curl/recipe.sh b/recipes/curl/recipe.sh
index 6e1fa519d..6e2924187 100644
--- a/recipes/curl/recipe.sh
+++ b/recipes/curl/recipe.sh
@@ -1,6 +1,6 @@
 TAR=https://curl.haxx.se/download/curl-7.55.1.tar.gz
 BRANCH=redox
-BUILD_DEPENDS=(openssl)
+BUILD_DEPENDS=(openssl zlib)
 DEPENDS="ca-certificates"
 
 function recipe_version {
@@ -16,7 +16,7 @@ function recipe_update {
 function recipe_build {
     wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
     autoreconf -i
-    ./configure --prefix=/ --host=${HOST} --disable-tftp --disable-ftp --disable-ntlm-wb --disable-threaded-resolver --with-ssl="$PWD/../sysroot" --with-ca-path=/ssl/certs
+    ./configure --prefix=/ --host=${HOST} --disable-tftp --disable-ftp --disable-ntlm-wb --disable-threaded-resolver --with-zlib="$PWD/../sysroot" --with-ssl="$PWD/../sysroot" --with-ca-path=/ssl/certs
     make
     skip=1
 }
-- 
GitLab