diff --git a/README.md b/README.md index 998c5e5fd2..6ee6c3c179 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ stable release as well. ## Version of libgit2 -Currently this library requires libgit2 1.3.0. The source for libgit2 is +Currently this library requires libgit2 1.4.0. The source for libgit2 is included in the libgit2-sys crate so there's no need to pre-install the libgit2 library, the libgit2-sys crate will figure that and/or build that for you. diff --git a/libgit2-sys/build.rs b/libgit2-sys/build.rs index 41b6041721..2752a5bc97 100644 --- a/libgit2-sys/build.rs +++ b/libgit2-sys/build.rs @@ -14,7 +14,7 @@ fn main() { let try_to_use_system_libgit2 = !vendored && !zlib_ng_compat; if try_to_use_system_libgit2 { let mut cfg = pkg_config::Config::new(); - if let Ok(lib) = cfg.atleast_version("1.3.0").probe("libgit2") { + if let Ok(lib) = cfg.atleast_version("1.4.0").probe("libgit2") { for include in &lib.include_paths { println!("cargo:root={}", include.display()); }