libcCross: Use correct libSystem

This commit is contained in:
Matthew Bauer 2018-06-28 16:01:29 -04:00
parent a44d33aac1
commit 9fcc63abb5

View File

@ -9286,7 +9286,7 @@ with pkgs;
else if name == "musl" then targetPackages.muslCross or muslCross
else if name == "msvcrt" then targetPackages.windows.mingw_w64 or windows.mingw_w64
else if targetPlatform.useiOSPrebuilt then targetPackages.darwin.iosSdkPkgs.libraries
else if name == "libSystem" then darwin.xcode
else if name == "libSystem" then targetPackages.darwin.xcode
else throw "Unknown libc";
libcCross = assert targetPlatform != buildPlatform; libcCrossChooser targetPlatform.libc;