Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sken committed Feb 17, 2018
2 parents 3d419b2 + 33b4077 commit db0044f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions depends/packages/librustzcash.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ $(package)_sha256_hash=a5760a90d4a1045c8944204f29fa2a3cf2f800afee400f88bf89bbfe2
$(package)_git_commit=91348647a86201a9482ad4ad68398152dc3d635e
$(package)_dependencies=rust

# cargo build --release
define $(package)_build_cmds
cargo build --release
cargo build --release --lib --target="x86_64-pc-windows-gnu"

This comment has been minimized.

Copy link
@ch4ot1c

ch4ot1c Feb 18, 2018

Collaborator

incompat with mac! gotta revert this file to use

endef

define $(package)_stage_cmds
mkdir $($(package)_staging_dir)$(host_prefix)/lib/ && \
mkdir $($(package)_staging_dir)$(host_prefix)/include/ && \
cp target/release/librustzcash.a $($(package)_staging_dir)$(host_prefix)/lib/ && \
cp target/x86_64-pc-windows-gnu/release/rustzcash.lib $($(package)_staging_dir)$(host_prefix)/lib/librustzcash.a && \
cp include/librustzcash.h $($(package)_staging_dir)$(host_prefix)/include/
endef
2 changes: 2 additions & 0 deletions depends/packages/rust.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ package=rust
$(package)_version=1.16.0
$(package)_download_path=https://static.rust-lang.org/dist
$(package)_file_name_linux=rust-$($(package)_version)-x86_64-unknown-linux-gnu.tar.gz
$(package)_file_name=rust-$($(package)_version)-x86_64-pc-windows-gnu.tar.gz
$(package)_sha256_hash_linux=48621912c242753ba37cad5145df375eeba41c81079df46f93ffb4896542e8fd
$(package)_sha256_hash=523cd248363afdc4e2c0e1f219607897b6925294a33154d7e67224addfd15eb0
$(package)_file_name_darwin=rust-$($(package)_version)-x86_64-apple-darwin.tar.gz
$(package)_sha256_hash_darwin=2d08259ee038d3a2c77a93f1a31fc59e7a1d6d1bbfcba3dba3c8213b2e5d1926

Expand Down

0 comments on commit db0044f

Please sign in to comment.