We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa1bd23 commit 0b74507Copy full SHA for 0b74507
1 file changed
build-static.sh
@@ -182,7 +182,7 @@ if [ -n "${EMBED}" ] && [ -d "${EMBED}" ]; then
182
fi
183
184
SPC_OPT_INSTALL_ARGS="go-xcaddy"
185
-if [ -z "${DEBUG_SYMBOLS}" ] && [ -z "${NO_COMPRESS}" ]; then
+if [ -z "${DEBUG_SYMBOLS}" ] && [ -z "${NO_COMPRESS}" ] && [ "${os}" = "linux" ]; then
186
SPC_OPT_BUILD_ARGS="${SPC_OPT_BUILD_ARGS} --with-upx-pack"
187
SPC_OPT_INSTALL_ARGS="${SPC_OPT_INSTALL_ARGS} upx"
188
0 commit comments