mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.Target: Ignore case for all Darwin platforms in isLibCLibName().
Matches isLibCxxLibName() behavior.
This commit is contained in:
parent
c76a98f28a
commit
879a39a700
1 changed files with 1 additions and 1 deletions
|
|
@ -2869,7 +2869,7 @@ pub fn cTypePreferredAlignment(target: Target, c_type: CType) u16 {
|
|||
}
|
||||
|
||||
pub fn isLibCLibName(target: std.Target, name: []const u8) bool {
|
||||
const ignore_case = target.os.tag == .macos or target.os.tag == .windows;
|
||||
const ignore_case = target.os.tag.isDarwin() or target.os.tag == .windows;
|
||||
|
||||
if (eqlIgnoreCase(ignore_case, name, "c"))
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue