Merge pull request #247682 from minijackson/fix-ppc64be-linker

authored by

Artturi and committed by
GitHub
bb446a19 78e149fb

+2 -1
+2 -1
pkgs/build-support/bintools-wrapper/default.nix
··· 80 80 else if targetPlatform.libc == "nblibc" then "${sharedLibraryLoader}/libexec/ld.elf_so" 81 81 else if targetPlatform.system == "i686-linux" then "${sharedLibraryLoader}/lib/ld-linux.so.2" 82 82 else if targetPlatform.system == "x86_64-linux" then "${sharedLibraryLoader}/lib/ld-linux-x86-64.so.2" 83 - else if targetPlatform.system == "powerpc64le-linux" then "${sharedLibraryLoader}/lib/ld64.so.2" 83 + # ELFv1 (.1) or ELFv2 (.2) ABI 84 + else if targetPlatform.isPower64 then "${sharedLibraryLoader}/lib/ld64.so.*" 84 85 # ARM with a wildcard, which can be "" or "-armhf". 85 86 else if (with targetPlatform; isAarch32 && isLinux) then "${sharedLibraryLoader}/lib/ld-linux*.so.3" 86 87 else if targetPlatform.system == "aarch64-linux" then "${sharedLibraryLoader}/lib/ld-linux-aarch64.so.1"