package/zstd: disable optional compression libraries for host build
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/c2f93a8076b27880754d827f2b5801f19de801fc
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master
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.
Proposed fix in zstd: https://github.com/meta/zstd/issues/4897
Signed-off-by James Hilliard <[email protected]>
[Marcus: add context to upstream link]
Signed-off-by Marcus Hoffmann <[email protected]>
--- 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
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot