commit 3c2733de6e20926b5113236296177e1b2a576423 (tree)
parent 948bc91d12e147b46d54d82af5e9a9bc2ce25573
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 2 Aug 2024 08:44:09 +0200
std.Target: Use a saner default dynamic linker path for riscv.
The vast majority of Linux systems will be running these ABIs.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/Target.zig b/lib/std/Target.zig
@@ -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.