There's a merged pull request on the void-packages repository zstd: clean up template. https://github.com/void-linux/void-packages/pull/45817 Description: The zstd template had multiple issues: - Since not all targets where built in do_build, compilation happened in do_install. - Both zstd(1) and pzstd(1) statically linked libzstd. - The libzstd.a library was meant to have multi-threading support, but was overwritten by a single-threaded version as a side-effect. We patch pzstd to use dynamic linking and use "zstd-dll" for zstd. In the future we may want to consider using cmake or ninja, but as it's a bootstrap package I've kept it on make.