Skip to content

Commit

Permalink
Revert "Run pkg-config on MSVC"
Browse files Browse the repository at this point in the history
This reverts commit 491bd1e.
Fixes rust-lang#143.
  • Loading branch information
Byron committed Jul 26, 2023
1 parent 31867f2 commit b1f7806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libz-sys"
version = "1.1.11"
version = "1.1.10"
authors = ["Alex Crichton <[email protected]>", "Josh Triplett <[email protected]>", "Sebastian Thiel <[email protected]>"]
links = "z"
license = "MIT OR Apache-2.0"
Expand Down
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
{
Expand Down

0 comments on commit b1f7806

Please sign in to comment.