diff options
author | jackyliu16 <9713184+wegank@users.noreply.github.com> | 2023-04-28 12:09:43 +0300 |
---|---|---|
committer | jackyliu16 <9713184+wegank@users.noreply.github.com> | 2023-04-28 12:09:43 +0300 |
commit | b522b5a8876761363bc024c3a279b0ded9620bea (patch) | |
tree | 05e95453b583893e591d7ed94eb6b905aa190e09 | |
parent | bb256ac1fa209274211f06ac87c6b29edfe5321f (diff) |
bintools: set dynamic linker
-rw-r--r-- | pkgs/build-support/bintools-wrapper/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index 00375db220fe9..6389985717f4f 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -88,6 +88,7 @@ let else if targetPlatform.isMips then "${sharedLibraryLoader}/lib/ld.so.1" # `ld-linux-riscv{32,64}-<abi>.so.1` else if targetPlatform.isRiscV then "${sharedLibraryLoader}/lib/ld-linux-riscv*.so.1" + else if targetPlatform.isLoongArch64 then "${sharedLibraryLoader}/lib/ld-linux-loongarch*.so.1" else if targetPlatform.isDarwin then "/usr/lib/dyld" else if targetPlatform.isFreeBSD then "/libexec/ld-elf.so.1" else if lib.hasSuffix "pc-gnu" targetPlatform.config then "ld.so.1" |