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.
This commit is contained in:
Jack Grigg 2018-10-28 06:41:53 +13:00
parent ee3fa7020e
commit 262cf38712
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with 1 additions and 3 deletions

View File

@ -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