mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.zig.target: libmx is a libSystem library for maccatalyst too
This commit is contained in:
parent
2125c94abe
commit
3633dd8d41
1 changed files with 4 additions and 4 deletions
|
|
@ -393,11 +393,11 @@ pub fn isLibCLibName(target: *const std.Target, name: []const u8) bool {
|
||||||
return true;
|
return true;
|
||||||
if (eqlIgnoreCase(ignore_case, name, "rpcsvc"))
|
if (eqlIgnoreCase(ignore_case, name, "rpcsvc"))
|
||||||
return true;
|
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"))
|
if (eqlIgnoreCase(ignore_case, name, "mx"))
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (target.isFreeBSDLibC()) {
|
if (target.isFreeBSDLibC()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue