We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9739199 commit 86c29d6Copy full SHA for 86c29d6
src/bootstrap/dist.rs
@@ -2326,6 +2326,10 @@ impl Step for LlvmTools {
2326
builder.install(&exe, &dst_bindir, 0o755);
2327
}
2328
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
+
2333
// Prepare the overlay
2334
let overlay = tmp.join("llvm-tools-overlay");
2335
drop(fs::remove_dir_all(&overlay));
0 commit comments