Skip to content

Commit b830b24

Browse files
authored
Fix: requires libgit2 v1.1.0 in build.rs (#632)
1 parent deed14d commit b830b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libgit2-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn main() {
1212
// To use zlib-ng in zlib-compat mode, we have to build libgit2 ourselves.
1313
if !zlib_ng_compat {
1414
let mut cfg = pkg_config::Config::new();
15-
if let Ok(lib) = cfg.atleast_version("1.0.0").probe("libgit2") {
15+
if let Ok(lib) = cfg.atleast_version("1.1.0").probe("libgit2") {
1616
for include in &lib.include_paths {
1717
println!("cargo:root={}", include.display());
1818
}

0 commit comments

Comments
 (0)