diff mbox series

[12/12] package/rust-bin: add missing extract dependencies

Message ID 20191210215952.902477-13-thomas.petazzoni@bootlin.com
State Superseded
Headers show
Series Ensure extractor dependencies are taken into account | expand

Commit Message

Thomas Petazzoni Dec. 10, 2019, 9:59 p.m. UTC
rust-bin uses suitable-extractor to manually extract a tarball, so it
should have the appropriate package dependencies added to
<pkg>_EXTRACT_DEPENDENCIES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/rust-bin/rust-bin.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk
index a374215e20..526c45a45e 100644
--- a/package/rust-bin/rust-bin.mk
+++ b/package/rust-bin/rust-bin.mk
@@ -32,7 +32,9 @@  define HOST_RUST_BIN_LIBSTD_EXTRACT
 	cd $(@D)/rustc/lib/rustlib/$(RUSTC_HOST_NAME)/lib; \
 		ln -sf ../../../../../std/$(HOST_RUST_BIN_LIBSTD_HOST_PREFIX)/lib/rustlib/$(RUSTC_HOST_NAME)/lib/* .
 endef
-
+HOST_RUST_BIN_EXTRACT_DEPENDENCIES += \
+	$(foreach f,$(HOST_RUST_BIN_EXTRA_DOWNLOADS),\
+		$(call extractor-pkg-dependency,$(f)))
 HOST_RUST_BIN_POST_EXTRACT_HOOKS += HOST_RUST_BIN_LIBSTD_EXTRACT
 
 HOST_RUST_BIN_INSTALL_OPTS = \