Merge pull request #126057 from alyssais/netbsd-bintools

wrapBintoolsWith: fix final stage NetBSD
This commit is contained in:
John Ericson
2021-06-07 10:10:35 -04:00
committed by GitHub
@@ -14,7 +14,9 @@
if libc == null then
null
else if stdenvNoCC.targetPlatform.isNetBSD then
if libc != targetPackages.netbsdCross.headers then
if !(targetPackages ? netbsdCross) then
netbsd.ld_elf_so
else if libc != targetPackages.netbsdCross.headers then
targetPackages.netbsdCross.ld_elf_so
else
null