Skip to content

Commit

Permalink
fix(build): run ranlib on stripped libpact_ffi.a on musl targets
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 27, 2024
1 parent 64e75d6 commit 79abe28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/ci/prebuild-alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ apk add bash curl python3 make g++
rm -rf build node_modules
npm ci --ignore-scripts
export npm_config_target=${NODE_VERSION}
npx --yes prebuildify@${PREBUILDIFY_VERSION} --napi --libc musl --tag-libc --name ${PREBUILD_NAME}
ranlib ffi/*/libpact_ffi.a
npx --yes prebuildify@${PREBUILDIFY_VERSION} --napi --libc musl --strip --tag-libc --name ${PREBUILD_NAME}
ls prebuilds/**/*
ARCH=$(uname -m | tr '[:upper:]' '[:lower:]')
case $ARCH in
Expand Down

0 comments on commit 79abe28

Please sign in to comment.