We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc2640 commit 4d104ddCopy full SHA for 4d104dd
libgit2-sys/build.rs
@@ -14,7 +14,11 @@ fn main() {
14
let try_to_use_system_libgit2 = !vendored && !zlib_ng_compat;
15
if try_to_use_system_libgit2 {
16
let mut cfg = pkg_config::Config::new();
17
- if let Ok(lib) = cfg.range_version("1.4.0".."1.5.0").print_system_libs(false).probe("libgit2") {
+ if let Ok(lib) = cfg
18
+ .range_version("1.4.0".."1.5.0")
19
+ .print_system_libs(false)
20
+ .probe("libgit2")
21
+ {
22
for include in &lib.include_paths {
23
println!("cargo:root={}", include.display());
24
}
0 commit comments