diff --git a/curl-sys/build.rs b/curl-sys/build.rs index bb173dd55..985f2ad71 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -477,6 +477,7 @@ fn try_vcpkg() -> bool { fn try_pkg_config() -> bool { let mut cfg = pkg_config::Config::new(); + cfg.print_system_libs(false); cfg.cargo_metadata(false); let lib = match cfg.probe("libcurl") { Ok(lib) => lib,