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 1f3c124 commit 5c267b3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions zstd/build_mingw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ echo "::group::prepare sources $download_url"

mkdir -p "$dp0/release/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

wget "$download_url" -O "tool-$tool_version.tar.gz"
tar -xf "tool-$tool_version.tar.gz" && cd "$tool_name-$tool_version"

echo "::endgroup::"

echo "::group::build"


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

export CPPFLAGS=-I./zlib
export LDFLAGS=./zlib/libz.a
make -j allzstd MOREFLAGS=-static V=1
Expand Down

0 comments on commit 5c267b3

Please sign in to comment.