Explicitly disable zstd support
Make sure we don't pick up a libzstd.so dependency if it happens to be installed on the system.
This commit is contained in:
parent
e77ec2f482
commit
b2f247e1bd
@ -325,6 +325,9 @@ impl Step for Llvm {
|
|||||||
cfg.define("LLVM_PROFDATA_FILE", &path);
|
cfg.define("LLVM_PROFDATA_FILE", &path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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 != "aarch64-apple-darwin" && !target.contains("windows") {
|
||||||
cfg.define("LLVM_ENABLE_ZLIB", "ON");
|
cfg.define("LLVM_ENABLE_ZLIB", "ON");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user