From 11d610d4052b8e86dab83a06ae4401057086db74 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Tue, 11 Jul 2023 09:35:45 +0200 Subject: [PATCH] cargo-c, try to fix build for 64bit (#9014) --- dev-rust/cargo_c/cargo_c-0.9.8.recipe | 4 ++++ 1 file changed, 4 insertions(+) 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}