Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ fn main() {
//
// MSVC basically never has it preinstalled, MinGW picks up a bunch of weird
// paths we don't like, `want_static` may force us, and cross compiling almost
// never has a prebuilt version.
// never has a prebuilt version, unless system supports "universal" binaries as macOS does.
if target.contains("msvc")
|| target.contains("pc-windows-gnu")
|| want_static
|| target != host
|| (target != host && !host_and_target_contain("darwin"))
{
return build_zlib(&mut cfg, &target);
}
Expand Down