mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.zig.target: libmx is a libSystem library for maccatalyst too
This commit is contained in:
parent
2125c94abe
commit
3633dd8d41
@ -393,12 +393,12 @@ pub fn isLibCLibName(target: *const std.Target, name: []const u8) bool {
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "rpcsvc"))
|
||||
return true;
|
||||
}
|
||||
|
||||
if (target.os.isAtLeast(.macos, .{ .major = 10, .minor = 8, .patch = 0 }) orelse false) {
|
||||
if (target.os.tag == .maccatalyst or target.os.tag == .macos) {
|
||||
if (eqlIgnoreCase(ignore_case, name, "mx"))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (target.isFreeBSDLibC()) {
|
||||
if (eqlIgnoreCase(ignore_case, name, "dl"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user