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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user