Enable zlib in LLVM on aarch64-apple-darwin

This commit is contained in:
Andy Wang 2023-06-22 18:48:29 +02:00
parent fa06a371b7
commit c37afcd323
No known key found for this signature in database
GPG key ID: 181B49F9F38F3374

View file

@ -352,7 +352,7 @@ impl Step for Llvm {
// Disable zstd to avoid a dependency on libzstd.so.
cfg.define("LLVM_ENABLE_ZSTD", "OFF");
if target != "aarch64-apple-darwin" && !target.contains("windows") {
if !target.contains("windows") {
cfg.define("LLVM_ENABLE_ZLIB", "ON");
} else {
cfg.define("LLVM_ENABLE_ZLIB", "OFF");