Skip to content

Commit 0b74507

Browse files
authored
don't upx pack on macos (#2003)
1 parent aa1bd23 commit 0b74507

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-static.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ if [ -n "${EMBED}" ] && [ -d "${EMBED}" ]; then
182182
fi
183183

184184
SPC_OPT_INSTALL_ARGS="go-xcaddy"
185-
if [ -z "${DEBUG_SYMBOLS}" ] && [ -z "${NO_COMPRESS}" ]; then
185+
if [ -z "${DEBUG_SYMBOLS}" ] && [ -z "${NO_COMPRESS}" ] && [ "${os}" = "linux" ]; then
186186
SPC_OPT_BUILD_ARGS="${SPC_OPT_BUILD_ARGS} --with-upx-pack"
187187
SPC_OPT_INSTALL_ARGS="${SPC_OPT_INSTALL_ARGS} upx"
188188
fi

0 commit comments

Comments
 (0)