Skip to content

Commit

Permalink
Add libLLVM to llvm-tools-preview too
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed May 11, 2020
1 parent 9739199 commit 86c29d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2326,6 +2326,10 @@ impl Step for LlvmTools {
builder.install(&exe, &dst_bindir, 0o755);
}

// Copy libLLVM.so to the target lib dir as well,
// so the RPATH like `$ORIGIN/../lib` can find it.
maybe_install_llvm_target(builder, target, &image);

// Prepare the overlay
let overlay = tmp.join("llvm-tools-overlay");
drop(fs::remove_dir_all(&overlay));
Expand Down

0 comments on commit 86c29d6

Please sign in to comment.