mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
bintools-wrapper: Set dynamic-linker on OpenBSD
Now that ld.so is symlinked into the libc derivation, we can use it as a dynamic linker. In my testing, OpenBSD does not have any issues with executing from a symlinked ld.so.
This commit is contained in:
parent
fcd62ad082
commit
6da0a87109
@ -134,6 +134,7 @@ let
|
||||
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 "${sharedLibraryLoader}/libexec/ld-elf.so.1"
|
||||
else if targetPlatform.isOpenBSD then "${sharedLibraryLoader}/libexec/ld.so"
|
||||
else if hasSuffix "pc-gnu" targetPlatform.config then "ld.so.1"
|
||||
else "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user