diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-08-30 15:15:14 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-08-30 15:15:14 -0400 |
| commit | 97013951dd13e8b6f397abe2f41ca8ba678fb66e (patch) | |
| tree | 85532c4c353cc015194651276c8247350c96f53d /src | |
| parent | 0e9bdb44a6ca022558ed703749353c76e796dc35 (diff) | |
| download | zig-97013951dd13e8b6f397abe2f41ca8ba678fb66e.tar.gz zig-97013951dd13e8b6f397abe2f41ca8ba678fb66e.zip | |
tests use darwin, not macosx since that's what macbook reports as
Diffstat (limited to 'src')
| -rw-r--r-- | src/link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.cpp b/src/link.cpp index 7d5ae7dd94..6134a8f568 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -573,7 +573,7 @@ static void get_darwin_platform(LinkJob *lj, DarwinPlatform *platform) { platform->kind = MacOS; } else if (g->mios_version_min) { platform->kind = IPhoneOS; - } else if (g->zig_target.os == ZigLLVM_MacOSX) { + } else if (g->zig_target.os == ZigLLVM_MacOSX || g->zig_target.os == ZigLLVM_Darwin) { platform->kind = MacOS; g->mmacosx_version_min = buf_create_from_str("10.10"); } else { |
