.
This commit is contained in:
parent
a59ea7db50
commit
7919c796ae
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
@ -47,7 +47,15 @@ cd libsodium-1.0.20/
|
|||
make -j20
|
||||
make install
|
||||
|
||||
# only for pijul-static
|
||||
# zstd
|
||||
wget https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz
|
||||
gunzip zstd-1.5.6.tar.gz
|
||||
tar xvf zstd-1.5.6.tar.gz
|
||||
cd zstd-1.5.6
|
||||
make TARGET_SYSTEM=Windows CC=x86_64-w64-mingw32-gcc -j20
|
||||
cp lib/libzstd.a /usr/x86_64-w64-mingw32/lib
|
||||
|
||||
# only for pijul-static upstream
|
||||
cd ~/pijul
|
||||
cargo update
|
||||
SODIUM_USE_PKG_CONFIG=1 PKG_CONFIG_SYSROOT_DIR=/usr/x86_64-w64-mingw32 cargo build --release --all-features --target x86_64-pc-windows-gnu
|
||||
|
|
Loading…
Reference in a new issue