mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
bintools: Add dynamic loader path for FreeBSD native
This commit is contained in:
parent
8073fc75a8
commit
718b237d0b
@ -129,7 +129,7 @@ let
|
|||||||
else if targetPlatform.isRiscV then "${sharedLibraryLoader}/lib/ld-linux-riscv*.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.isLoongArch64 then "${sharedLibraryLoader}/lib/ld-linux-loongarch*.so.1"
|
||||||
else if targetPlatform.isDarwin then "/usr/lib/dyld"
|
else if targetPlatform.isDarwin then "/usr/lib/dyld"
|
||||||
else if targetPlatform.isFreeBSD then "/libexec/ld-elf.so.1"
|
else if targetPlatform.isFreeBSD then "${sharedLibraryLoader}/libexec/ld-elf.so.1"
|
||||||
else if hasSuffix "pc-gnu" targetPlatform.config then "ld.so.1"
|
else if hasSuffix "pc-gnu" targetPlatform.config then "ld.so.1"
|
||||||
else "";
|
else "";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user