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 1b1d71a commit c607e40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions zstd/build_mingw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ echo "::endgroup::"

echo "::group::build"

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

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

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

0 comments on commit c607e40

Please sign in to comment.