package/rust/rust.mk: add missing host-zlib dependency

Several rust tools are linking against zlib, so add the depedency
explicitly in HOST_RUST_DEPENDENCIES.

For now, host-rust build system is not able to find zlib provided
by Buildroot in HOST_DIR due to at least two issues that will be
fixed in followup commits.

Note that host-zlib is already in the dependency chain, by way of
host-openssl, but since rust needs for itself, we need to add it
as an explicit dependency.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[yann.morin.1998@free.fr: add not about transitive dependency]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Romain Naour 2024-02-29 23:41:20 +01:00 committed by Yann E. MORIN
parent 2934a4692c
commit 953230e176

View File

@ -20,6 +20,7 @@ HOST_RUST_DEPENDENCIES = \
host-python3 \
host-rust-bin \
host-openssl \
host-zlib \
$(BR2_CMAKE_HOST_DEPENDENCY)
HOST_RUST_VERBOSITY = $(if $(VERBOSE),2,0)