Skip to content

Commit a15bb43

Browse files
committed
Statically link to zstd.
1 parent 4837983 commit a15bb43

File tree

1 file changed

+1
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-0
lines changed

src/bootstrap/src/core/build_steps/llvm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ impl Step for Llvm {
372372
if !target.is_windows() {
373373
cfg.define("LLVM_ENABLE_ZLIB", "ON");
374374
cfg.define("LLVM_ENABLE_ZSTD", "ON");
375+
cfg.define("LLVM_USE_STATIC_ZSTD", "TRUE");
375376
} else {
376377
cfg.define("LLVM_ENABLE_ZLIB", "OFF");
377378
cfg.define("LLVM_ENABLE_ZSTD", "OFF");

0 commit comments

Comments
 (0)