authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-14 22:14:09+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-14 22:14:50+01:00
log3633dd8d4101418a599c9301ee5b012a33fa276e
treec623e657127324ace46328e4598a181bb001baee
parent2125c94abeb2a592d03471f72426073d37400be3
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.zig.target: libmx is a libSystem library for maccatalyst too


1 files changed, 4 insertions(+), 4 deletions(-)

lib/std/zig/target.zig+4-4
...@@ -393,11 +393,11 @@ pub fn isLibCLibName(target: *const std.Target, name: []const u8) bool {...@@ -393,11 +393,11 @@ pub fn isLibCLibName(target: *const std.Target, name: []const u8) bool {
393 return true;393 return true;
394 if (eqlIgnoreCase(ignore_case, name, "rpcsvc"))394 if (eqlIgnoreCase(ignore_case, name, "rpcsvc"))
395 return true;395 return true;
396 }
397396
398 if (target.os.isAtLeast(.macos, .{ .major = 10, .minor = 8, .patch = 0 }) orelse false) {397 if (target.os.tag == .maccatalyst or target.os.tag == .macos) {
399 if (eqlIgnoreCase(ignore_case, name, "mx"))398 if (eqlIgnoreCase(ignore_case, name, "mx"))
400 return true;399 return true;
400 }
401 }401 }
402402
403 if (target.isFreeBSDLibC()) {403 if (target.isFreeBSDLibC()) {