diff --git a/dev-rust/cargo_c/cargo_c-0.9.8.recipe b/dev-rust/cargo_c/cargo_c-0.9.8.recipe index 67cc6b28b..81d237eae 100644 --- a/dev-rust/cargo_c/cargo_c-0.9.8.recipe +++ b/dev-rust/cargo_c/cargo_c-0.9.8.recipe @@ -57,6 +57,10 @@ BUILD() INSTALL() { + export LIBSSH2_SYS_USE_PKG_CONFIG=1 + export LIBGIT2_SYS_USE_PKG_CONFIG=1 + export PKG_CONFIG_ALLOW_CROSS=1 + cargo install --locked --root $prefix --path . rm -f $prefix/{.crates.toml,.crates2.json}