Commit 2fb813c61f

YANG Xudong <yangxudong@ymatrix.cn>
2024-07-31 00:20:56
std: set standard dynamic linker path for loongarch64 on linux. (#20726)
1 parent 30b4a87
Changed files (1)
lib
lib/std/Target.zig
@@ -1717,6 +1717,8 @@ pub const DynamicLinker = struct {
                     else => "",
                 }}) catch unreachable,
 
+                .loongarch64 => init("/lib64/ld-linux-loongarch-lp64d.so.1"),
+
                 .mips,
                 .mipsel,
                 .mips64,
@@ -1776,7 +1778,6 @@ pub const DynamicLinker = struct {
                 .ve,
                 .dxil,
                 .loongarch32,
-                .loongarch64,
                 .xtensa,
                 => none,
             },