Skip to content

Commit

Permalink
Build librustzcash package without changing directory
Browse files Browse the repository at this point in the history
This ensures that the depends system's custom PATH is applied correctly,
and the pre-build Rust binaries are accessible.
  • Loading branch information
str4d committed Oct 27, 2018
1 parent ee3fa70 commit 262cf38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions depends/packages/librustzcash.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 262cf38

Please sign in to comment.