From 97013951dd13e8b6f397abe2f41ca8ba678fb66e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 30 Aug 2017 15:15:14 -0400 Subject: tests use darwin, not macosx since that's what macbook reports as --- src/link.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/link.cpp') 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 { -- cgit v1.2.3