rustc_llvm: Link to zlib on dragonfly

This commit is contained in:
Alex Zepeda 2023-08-01 15:54:30 -07:00
parent 866710c552
commit 14dd4e97a8

View File

@ -251,7 +251,8 @@ fn main() {
} else if target.contains("windows-gnu") {
println!("cargo:rustc-link-lib=shell32");
println!("cargo:rustc-link-lib=uuid");
} else if target.contains("haiku") || target.contains("darwin") {
} else if target.contains("haiku") || target.contains("darwin") || target.contains("dragonfly")
{
println!("cargo:rustc-link-lib=z");
} else if target.contains("netbsd") {
println!("cargo:rustc-link-lib=z");