From 21b637aa3eaea45b5bb2d606dca37bb58881d86f Mon Sep 17 00:00:00 2001 From: Reshetnikov Alexandr Date: Wed, 11 Oct 2023 22:27:08 +0400 Subject: [PATCH] try cmake --- zstd/build_musl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zstd/build_musl.sh b/zstd/build_musl.sh index 6fd82b486..4ccb5054e 100755 --- a/zstd/build_musl.sh +++ b/zstd/build_musl.sh @@ -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::" @@ -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/"