[zUPX]: build time dependency
Why?
I like my commandline tools small, fast and portable. Thats are some of the reasons why I like to use zig. But the binaries can always be smaller this is why I use UPX. In the past I relyed on a bash script and upx installed. But I want my tools to just build with zig an no other build dependency and to work cross-platform. That’s why I created this zig build that fetches the UPX sources along with dependencies and builds the upx executable.
It contains no zig code just build.zig and build.zig.zon
Its an early version and currently only tested to work on linux on amd64
I’m happy to get feedback about the idea in general and of course my implementaion.
Supported Zig versions
0.16.0
AI / LLM usage disclosure
No AI was used.