package/zstd: disable optional compression libraries for host build
PATCH 1/1 package/zstd: disable optional compression libraries for host build
host-zstd auto-detects system zlib, liblzma and liblz4. Updating the build host's LZ4 to 1.11.0 breaks compilation due to the removed contentChecksum_t alias, even with an unchanged Buildroot tree.
Disable these unused codecs to avoid undeclared host dependencies.
https://github.com/meta/zstd/issues/4897
--- package/zstd/zstd.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
package/zstd/zstd.mk +6 -1
@@ -114,7 +114,12 @@ define ZSTD_INSTALL_TARGET_CMDS $(ZSTD_INSTALL_PZSTD) endef -HOST_ZSTD_OPTS += PREFIX=$(HOST_DIR) +# Disable auto-detection of optional compression libraries. +HOST_ZSTD_OPTS += \ + PREFIX=$(HOST_DIR) \ + HAVE_ZLIB=0 \ + HAVE_LZMA=0 \ + HAVE_LZ4=0 HOST_ZSTD_ENV = $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) # We are a ccache dependency, so we can't use ccache
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi James,
Quoted 8 lines · James Hilliard
host-zstd auto-detects system zlib, liblzma and liblz4. Updating the build host's LZ4 to 1.11.0 breaks compilation due to the removed
contentChecksum_talias, even with an unchanged Buildroot tree.Disable these unused codecs to avoid undeclared host dependencies.
https://github.com/meta/zstd/issues/4897
Signed-off-by James Hilliard <[email protected]>
I hit this as well, but didn't get around yet to send the fix :).
Applied to master, thanks!
Marcus
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot