Skip to content

Commit

Permalink
Statically link to zstd.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuey committed May 29, 2024
1 parent e698e03 commit c638c09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/src/core/build_steps/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ impl Step for Llvm {
if !target.is_windows() {
cfg.define("LLVM_ENABLE_ZLIB", "ON");
cfg.define("LLVM_ENABLE_ZSTD", "ON");
cfg.define("LLVM_USE_STATIC_ZSTD", "TRUE");
} else {
cfg.define("LLVM_ENABLE_ZLIB", "OFF");
cfg.define("LLVM_ENABLE_ZSTD", "OFF");
Expand Down

0 comments on commit c638c09

Please sign in to comment.