Skip to content

Commit

Permalink
try cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Oct 11, 2023
1 parent a092f9c commit 21b637a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zstd/build_musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
echo "::group::install deps"

apk update
apk add --no-cache alpine-sdk zlib-dev zlib-static
apk add --no-cache alpine-sdk cmake zlib-dev zlib-static

echo "::endgroup::"

Expand All @@ -24,8 +24,8 @@ echo "::endgroup::"

echo "::group::build"

export LDFLAGS=-static
make
cmake build/cmake -DZSTD_BUILD_STATIC=1 -DZSTD_USE_STATIC_RUNTIME=1
cmake --build .

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

Expand Down

0 comments on commit 21b637a

Please sign in to comment.