]> Git Repo - VerusCoin.git/commitdiff
Build librustzcash package without changing directory
authorJack Grigg <[email protected]>
Sat, 27 Oct 2018 17:41:53 +0000 (06:41 +1300)
committerJack Grigg <[email protected]>
Sat, 27 Oct 2018 17:41:53 +0000 (06:41 +1300)
This ensures that the depends system's custom PATH is applied correctly,
and the pre-build Rust binaries are accessible.

depends/packages/librustzcash.mk

index f2953dc8ddcbc6f9a16e1690c9e6846873bf238b..a47c757de8066bb4b43c57860c3f40d1c28d215f 100644 (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
This page took 0.025509 seconds and 4 git commands to generate.