Skip to content

Commit

Permalink
std.Target: Use a saner default dynamic linker path for riscv.
Browse files Browse the repository at this point in the history
The vast majority of Linux systems will be running these ABIs.
  • Loading branch information
alexrp authored and SammyJames committed Aug 13, 2024
1 parent f483db8 commit b2be8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/std/Target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1764,8 +1764,8 @@ pub const DynamicLinker = struct {
else => "/lib64/ld-linux-x86-64.so.2",
}),

.riscv32 => init("/lib/ld-linux-riscv32-ilp32.so.1"),
.riscv64 => init("/lib/ld-linux-riscv64-lp64.so.1"),
.riscv32 => init("/lib/ld-linux-riscv32-ilp32d.so.1"),
.riscv64 => init("/lib/ld-linux-riscv64-lp64d.so.1"),

// Architectures in this list have been verified as not having a standard
// dynamic linker path.
Expand Down

0 comments on commit b2be8d7

Please sign in to comment.