From e47bf14904e632252a85ea5a175be198a605593b Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Tue, 13 Sep 2016 23:28:31 -0400 Subject: [PATCH] cargo: avoid build failure due to --disable-static not being recognized Not sure why this is starting to affect cargo now, but let's fix it. --- recipes-devtools/cargo/cargo.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-devtools/cargo/cargo.inc b/recipes-devtools/cargo/cargo.inc index f7d42d5..fa13057 100644 --- a/recipes-devtools/cargo/cargo.inc +++ b/recipes-devtools/cargo/cargo.inc @@ -76,6 +76,9 @@ PACKAGECONFIG[rust-snapshot] = "--local-rust-root=${B}/rustc" # Used in libgit2-sys's build.rs, needed for pkg-config to be used export LIBGIT2_SYS_USE_PKG_CONFIG = "1" +# cargo's configure doesn't recognize --disable-static, so remove it. +DISABLE_STATIC = "" + do_configure () { ${@bb.utils.contains('PACKAGECONFIG', 'rust-snapshot', '${S}/.travis.install.deps.sh', ':', d)}