Skip to content

Commit 14dd4e9

Browse files
author
Alex Zepeda
committed
rustc_llvm: Link to zlib on dragonfly
1 parent 866710c commit 14dd4e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_llvm/build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ fn main() {
251251
} else if target.contains("windows-gnu") {
252252
println!("cargo:rustc-link-lib=shell32");
253253
println!("cargo:rustc-link-lib=uuid");
254-
} else if target.contains("haiku") || target.contains("darwin") {
254+
} else if target.contains("haiku") || target.contains("darwin") || target.contains("dragonfly")
255+
{
255256
println!("cargo:rustc-link-lib=z");
256257
} else if target.contains("netbsd") {
257258
println!("cargo:rustc-link-lib=z");

0 commit comments

Comments
 (0)