Skip to content

Commit 2fb813c

Browse files
authored
std: set standard dynamic linker path for loongarch64 on linux. (#20726)
1 parent 30b4a87 commit 2fb813c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/std/Target.zig

+2-1
Original file line numberDiff line numberDiff line change
@@ -1717,6 +1717,8 @@ pub const DynamicLinker = struct {
17171717
else => "",
17181718
}}) catch unreachable,
17191719

1720+
.loongarch64 => init("/lib64/ld-linux-loongarch-lp64d.so.1"),
1721+
17201722
.mips,
17211723
.mipsel,
17221724
.mips64,
@@ -1776,7 +1778,6 @@ pub const DynamicLinker = struct {
17761778
.ve,
17771779
.dxil,
17781780
.loongarch32,
1779-
.loongarch64,
17801781
.xtensa,
17811782
=> none,
17821783
},

0 commit comments

Comments
 (0)