Skip to content

Commit 5807cc4

Browse files
experimental: Link llvm-tools dynamically to LLVM.
1 parent c7e0eb1 commit 5807cc4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bootstrap/native.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ impl Step for Llvm {
174174
// just a local concern. However, it doesn't work well everywhere.
175175
//
176176
// If we are shipping llvm tools then we statically link them LLVM
177-
if (target.contains("linux-gnu") || target.contains("apple-darwin")) &&
178-
!builder.config.llvm_tools_enabled {
177+
if target.contains("linux-gnu") || target.contains("apple-darwin") {
179178
cfg.define("LLVM_LINK_LLVM_DYLIB", "ON");
180179
}
181180

0 commit comments

Comments
 (0)