From 262cf38712df5b3105f2e39ba47058e2b73ecfe0 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sun, 28 Oct 2018 06:41:53 +1300 Subject: [PATCH] Build librustzcash package without changing directory This ensures that the depends system's custom PATH is applied correctly, and the pre-build Rust binaries are accessible. --- depends/packages/librustzcash.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/depends/packages/librustzcash.mk b/depends/packages/librustzcash.mk index f2953dc8d..a47c757de 100644 --- a/depends/packages/librustzcash.mk +++ b/depends/packages/librustzcash.mk @@ -27,9 +27,7 @@ define $(package)_preprocess_cmds endef define $(package)_build_cmds - cd librustzcash && \ - cargo build $($(package)_build_opts) && \ - cd .. + cargo build --package librustzcash $($(package)_build_opts) endef define $(package)_stage_cmds