Skip to content

Commit

Permalink
experimental: Link llvm-tools dynamically to LLVM.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Aug 13, 2018
1 parent c7e0eb1 commit 5807cc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ impl Step for Llvm {
// just a local concern. However, it doesn't work well everywhere.
//
// If we are shipping llvm tools then we statically link them LLVM
if (target.contains("linux-gnu") || target.contains("apple-darwin")) &&
!builder.config.llvm_tools_enabled {
if target.contains("linux-gnu") || target.contains("apple-darwin") {
cfg.define("LLVM_LINK_LLVM_DYLIB", "ON");
}

Expand Down

0 comments on commit 5807cc4

Please sign in to comment.