Skip to content

Commit c939e90

Browse files
Remove the extra .0 at the end of the libgccjit.so file
1 parent 15b6fde commit c939e90

File tree

1 file changed

+1
-2
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-2
lines changed

src/bootstrap/src/core/build_steps/gcc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ impl GccOutput {
4040
// However, at runtime, it will by default look for libgccjit.so.0.
4141
// So when we install the built libgccjit.so file to the target `directory`, we add it there
4242
// with the `.0` suffix.
43-
let mut target_filename = self.libgccjit.file_name().unwrap().to_str().unwrap().to_string();
44-
target_filename.push_str(".0");
43+
let target_filename = self.libgccjit.file_name().unwrap().to_str().unwrap().to_string();
4544

4645
// If we build libgccjit ourselves, then `self.libgccjit` can actually be a symlink.
4746
// In that case, we have to resolve it first, otherwise we'd create a symlink to a symlink,

0 commit comments

Comments
 (0)