From: Michael Tremer Date: Fri, 28 Jan 2022 13:59:20 +0000 (+0000) Subject: rust: Enable more checks for when to install package files X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e1ac86c1711ad8cadce97df749d31594354651f;p=people%2Fstevee%2Fipfire-2.x.git rust: Enable more checks for when to install package files Signed-off-by: Michael Tremer --- diff --git a/lfs/Config b/lfs/Config index 3ae5425ee4..d2f9c4bf94 100644 --- a/lfs/Config +++ b/lfs/Config @@ -213,7 +213,7 @@ CARGO_TARGET_CHECK = $(CARGO) metadata --format-version 1 --no-deps | \ define CARGO_INSTALL mkdir -pv "$(CRATE_PATH)" && \ - if $(call CARGO_TARGET_CHECK,lib); then \ + if $(call CARGO_TARGET_CHECK,lib) || $(call CARGO_TARGET_CHECK,rlib) || $(call CARGO_TARGET_CHECK,proc-macro); then \ awk \ '/^\\\[((.+\\\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\\\[/{f=0}; !f' \ < Cargo.toml > Cargo.toml.deps && \