Skip to content

Commit

Permalink
Warn if upx not available for current platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Dec 30, 2024
1 parent 3762484 commit c4ca76f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ then
# Universal2 fat binary. Maybe we could pack each architecture, and only
# afterward combine them with lipo? But doing that would be more involved.
(set -x; .cache/upx/*/upx --best $(find dist -maxdepth 2 -perm /+x -type f)) || true
else
echo "[WARNING] No upx for this platform; skipping executable packing." 1>&2;
fi

# Display the result.
Expand Down

0 comments on commit c4ca76f

Please sign in to comment.