Auto merge of #75655 - nielx:fix/haiku-llvm-libz, r=Mark-Simulacrum
Disable zlib in LLVM on Haiku PR #72696 enabled the option LLVM_ENABLE_ZLIB for the LLVM builds. Like NetBSD and aarch64-apple-darwin (see PR #75500), the LLVM build system not explicitly linking to libz on these platforms cause issues. For Haiku, this meant the runtime loader complaining about undefined symbols..
This commit is contained in:
commit
80cacd7795
@ -198,7 +198,7 @@ fn main() {
|
||||
} else if target.contains("windows-gnu") {
|
||||
println!("cargo:rustc-link-lib=shell32");
|
||||
println!("cargo:rustc-link-lib=uuid");
|
||||
} else if target.contains("netbsd") {
|
||||
} else if target.contains("netbsd") || target.contains("haiku") {
|
||||
println!("cargo:rustc-link-lib=z");
|
||||
}
|
||||
cmd.args(&components);
|
||||
|
Loading…
Reference in New Issue
Block a user