Merge pull request #126057 from alyssais/netbsd-bintools

wrapBintoolsWith: fix final stage NetBSD
master
John Ericson 2021-06-07 10:10:35 -04:00 committed by GitHub
commit 65c7bed5d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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