mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +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,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…
Add table
Reference in a new issue