diff --git a/Cargo.toml b/Cargo.toml index effb241e..7421852c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libz-sys" -version = "1.1.11" +version = "1.1.10" authors = ["Alex Crichton ", "Josh Triplett ", "Sebastian Thiel "] links = "z" license = "MIT OR Apache-2.0" diff --git a/build.rs b/build.rs index 3feabe48..51ebe6bf 100644 --- a/build.rs +++ b/build.rs @@ -23,6 +23,7 @@ fn main() { let want_static = cfg!(feature = "static") || env::var("LIBZ_SYS_STATIC").unwrap_or(String::new()) == "1"; if !want_static && + !target.contains("msvc") && // pkg-config just never works here !(host_and_target_contain("freebsd") || host_and_target_contain("dragonfly")) {