cargo-c, try to fix build for 64bit (#9014)

This commit is contained in:
Schrijvers Luc
2023-07-11 09:35:45 +02:00
committed by GitHub
parent 6b04a8558b
commit 11d610d405

View File

@@ -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}