Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Oct 10, 2023
1 parent 99e9cb6 commit 5119fc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zstd/build_mingw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ echo "::endgroup::"
echo "::group::build"

git clone --depth 1 --branch v1.2.11 https://github.com/madler/zlib
msys2 make -C zlib -f win32/Makefile.gcc libz.a
make -C zlib -f win32/Makefile.gcc libz.a

cd "$dp0/release/$tool_name-$tool_version"
export CPPFLAGS=-I../zlib
export LDFLAGS=../zlib/libz.a
msys2 make -j allzstd MOREFLAGS=-static V=1
make -j allzstd MOREFLAGS=-static V=1

cp -f "./$tool_name.exe" "$dp0/release/build/"

Expand Down

0 comments on commit 5119fc6

Please sign in to comment.