From 36bbaca4cffa1f7aa6ece13cb6463a83367b0719 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Mon, 20 Nov 2017 20:36:20 -0700
Subject: [PATCH] Add dependency directories for curl

---
 recipes/cargo/recipe.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes/cargo/recipe.sh b/recipes/cargo/recipe.sh
index 25f1bc857..3a688e5af 100644
--- a/recipes/cargo/recipe.sh
+++ b/recipes/cargo/recipe.sh
@@ -1,7 +1,9 @@
 GIT=https://github.com/redox-os/cargo.git
 BRANCH=redox_rebase
-BUILD_DEPENDS=(openssl)
+BUILD_DEPENDS=(openssl zlib)
 
 function recipe_build {
+    export DEP_OPENSSL_ROOT="$PWD/../sysroot"
     export OPENSSL_DIR="$PWD/../sysroot"
+    export DEP_Z_ROOT="$PWD/../sysroot"
 }
-- 
GitLab