mingw cross compile
This commit is contained in:
@@ -6,12 +6,14 @@ else
|
||||
CFLAGS := ""
|
||||
endif
|
||||
|
||||
PWD := $(shell pwd)
|
||||
|
||||
all: release
|
||||
|
||||
winrelease: target/x86_64-pc-windows-gnu/release/zecwalletlite.lib
|
||||
|
||||
target/x86_64-pc-windows-gnu/release/zecwalletlite.lib: src/lib.rs Cargo.toml
|
||||
cargo build --lib --release --target x86_64-pc-windows-gnu
|
||||
SODIUM_LIB_DIR="$(PWD)/libsodium-mingw/" cargo build --lib --release --target x86_64-pc-windows-gnu
|
||||
|
||||
release: target/release/zecwalletlite.$(EXT)
|
||||
debug: target/debug/zecwalletlite.$(EXT)
|
||||
|
||||
BIN
lib/libsodium-mingw/libsodium.a
Normal file
BIN
lib/libsodium-mingw/libsodium.a
Normal file
Binary file not shown.
Reference in New Issue
Block a user