don't upx pack on macos (#2003)

This commit is contained in:
Marc
2025-11-20 10:19:27 +01:00
committed by GitHub
parent aa1bd23004
commit 0b74507945

View File

@@ -182,7 +182,7 @@ if [ -n "${EMBED}" ] && [ -d "${EMBED}" ]; then
fi
SPC_OPT_INSTALL_ARGS="go-xcaddy"
if [ -z "${DEBUG_SYMBOLS}" ] && [ -z "${NO_COMPRESS}" ]; then
if [ -z "${DEBUG_SYMBOLS}" ] && [ -z "${NO_COMPRESS}" ] && [ "${os}" = "linux" ]; then
SPC_OPT_BUILD_ARGS="${SPC_OPT_BUILD_ARGS} --with-upx-pack"
SPC_OPT_INSTALL_ARGS="${SPC_OPT_INSTALL_ARGS} upx"
fi