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 #143.
  • Loading branch information
Byron committed Jul 26, 2023
1 parent 31867f2 commit 39a51ea
Showing 1 changed file with 1 addition and 0 deletions.
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 39a51ea

Please sign in to comment.