Skip to content

Commit 86c29d6

Browse files
committed
Add libLLVM to llvm-tools-preview too
1 parent 9739199 commit 86c29d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/dist.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2326,6 +2326,10 @@ impl Step for LlvmTools {
23262326
builder.install(&exe, &dst_bindir, 0o755);
23272327
}
23282328

2329+
// Copy libLLVM.so to the target lib dir as well,
2330+
// so the RPATH like `$ORIGIN/../lib` can find it.
2331+
maybe_install_llvm_target(builder, target, &image);
2332+
23292333
// Prepare the overlay
23302334
let overlay = tmp.join("llvm-tools-overlay");
23312335
drop(fs::remove_dir_all(&overlay));

0 commit comments

Comments
 (0)