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:
parent
ee3fa7020e
commit
262cf38712
|
@ -27,9 +27,7 @@ define $(package)_preprocess_cmds
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
cd librustzcash && \
|
cargo build --package librustzcash $($(package)_build_opts)
|
||||||
cargo build $($(package)_build_opts) && \
|
|
||||||
cd ..
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
define $(package)_stage_cmds
|
||||||
|
|
Loading…
Reference in New Issue