Skip to content

Commit 39a51ea

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

+1
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)