sign dylibs on macOS (#2101)

This commit is contained in:
Jeffrey Morgan
2024-01-19 19:24:11 -05:00
committed by GitHub
parent 3b76e736ae
commit 4c54f0ddeb
3 changed files with 13 additions and 2 deletions

View File

@@ -83,8 +83,9 @@ build() {
compress_libs() {
echo "Compressing payloads to reduce overall binary size..."
pids=""
rm -rf ${BUILD_DIR}/lib/*.${LIB_EXT}*.gz
for lib in ${BUILD_DIR}/lib/*.${LIB_EXT}* ; do
gzip --best ${lib} &
gzip --best -f ${lib} &
pids+=" $!"
done
echo