bintools: Add dynamic loader path for FreeBSD native

authored by Audrey Dutcher and committed by Alyssa Ross 718b237d 8073fc75

+1 -1
+1 -1
pkgs/build-support/bintools-wrapper/default.nix
··· 129 129 else if targetPlatform.isRiscV then "${sharedLibraryLoader}/lib/ld-linux-riscv*.so.1" 130 130 else if targetPlatform.isLoongArch64 then "${sharedLibraryLoader}/lib/ld-linux-loongarch*.so.1" 131 131 else if targetPlatform.isDarwin then "/usr/lib/dyld" 132 - else if targetPlatform.isFreeBSD then "/libexec/ld-elf.so.1" 132 + else if targetPlatform.isFreeBSD then "${sharedLibraryLoader}/libexec/ld-elf.so.1" 133 133 else if hasSuffix "pc-gnu" targetPlatform.config then "ld.so.1" 134 134 else ""; 135 135