try again build static build on musl

This commit is contained in:
snmsts 2024-10-14 16:27:32 +09:00
parent 8fc5809743
commit b3e12e0133
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
FROM alpine:3.20
run apk add --no-cache \
alpine-sdk automake autoconf curl-dev bash linux-headers \
curl-static nghttp2-static openssl-libs-static brotli-static zlib-static;
curl-static nghttp2-static openssl-libs-static brotli-static zlib-static zstd-static c-ares-static \
libidn2-static libunistring-static;

View file

@ -54,7 +54,7 @@ musl:
./bootstrap
./configure --enable-maintainer-mode --with-sbcl-bin-variant=$(VARIANT) \
LDFLAGS="--static -static-libgcc -static-libstdc++ -static" \
LIBS="-lcurl -lnghttp2 -lssl -lcrypto -lz"
LIBS="-lcurl -lbrotlidec -lbrotlicommon -lnghttp2 -lssl -lcrypto -lz -lzstd -lcares -lidn2 -lunistring -lpsl"
make
make pack