From 3bb1662b224410cb8c22d44ddf1ec9b2f4d16985 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Wed, 23 Sep 2015 13:52:00 -0400 Subject: [PATCH] cargo: correct exported env var so we use our libgit2 --- recipes/cargo/cargo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/cargo/cargo_git.bb b/recipes/cargo/cargo_git.bb index 79c2cfb..70fa809 100644 --- a/recipes/cargo/cargo_git.bb +++ b/recipes/cargo/cargo_git.bb @@ -37,7 +37,7 @@ SRC_URI[md5sum] = "3d62194d02a9088cd8aae379e9498134" SRC_URI[sha256sum] = "16b6338ba2942989693984ba4dbd057c2801e8805e6da8fa7b781b00e722d117" # Used in libgit2-sys's build.rs, needed for pkg-config to be used -export LIBSSH2_SYS_USE_PKG_CONFIG = "1" +export LIBGIT2_SYS_USE_PKG_CONFIG = "1" # FIXME: we don't actually use these, and shouldn't need to fetch it, but not having it results in: ## target/snapshot/bin/cargo build --target x86_64-linux --verbose