diff options
author | oxalica <oxalicc@pm.me> | 2021-02-28 00:33:10 +0800 |
---|---|---|
committer | oxalica <oxalicc@pm.me> | 2021-11-26 00:32:33 +0800 |
commit | 3b069a2ef810abb92db95f8ee1162b8fa6d7a9bd (patch) | |
tree | 8c66cb0c1011d663380322b86d346000def2f3cf /pkgs/build-support/bintools-wrapper | |
parent | 6080ef54eb92ff9fc70760a8d351af584df1f456 (diff) |
bintools-wrapper: add dynamicLinker for riscv
Diffstat (limited to 'pkgs/build-support/bintools-wrapper')
-rw-r--r-- | pkgs/build-support/bintools-wrapper/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index 53f367b9b84d4..c2d67169c9caf 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -81,6 +81,8 @@ let else if targetPlatform.system == "aarch64-linux" then "${sharedLibraryLoader}/lib/ld-linux-aarch64.so.1" else if targetPlatform.system == "powerpc-linux" then "${sharedLibraryLoader}/lib/ld.so.1" 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.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" |