Skip to content

Commit b1f7806

Browse files
committed
Revert "Run pkg-config on MSVC"
This reverts commit 491bd1e. Fixes rust-lang#143.
1 parent 31867f2 commit b1f7806

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libz-sys"
3-
version = "1.1.11"
3+
version = "1.1.10"
44
authors = ["Alex Crichton <[email protected]>", "Josh Triplett <[email protected]>", "Sebastian Thiel <[email protected]>"]
55
links = "z"
66
license = "MIT OR Apache-2.0"

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fn main() {
2323
let want_static =
2424
cfg!(feature = "static") || env::var("LIBZ_SYS_STATIC").unwrap_or(String::new()) == "1";
2525
if !want_static &&
26+
!target.contains("msvc") && // pkg-config just never works here
2627
!(host_and_target_contain("freebsd") ||
2728
host_and_target_contain("dragonfly"))
2829
{

0 commit comments

Comments
 (0)