std.Target: Use a saner default dynamic linker path for riscv.

The vast majority of Linux systems will be running these ABIs.
This commit is contained in:
Alex Rønne Petersen 2024-08-02 08:44:09 +02:00
parent 948bc91d12
commit 3c2733de6e
No known key found for this signature in database

View File

@ -1742,8 +1742,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.