mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.zig.target: handle openbsd libc names
This commit is contained in:
parent
c3b9f49ac2
commit
df147734a3
1 changed files with 11 additions and 0 deletions
|
|
@ -436,6 +436,17 @@ pub fn isLibCLibName(target: *const std.Target, name: []const u8) bool {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (target.isOpenBSDLibC()) {
|
||||
if (eqlIgnoreCase(ignore_case, name, "execinfo"))
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "m"))
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "pthread"))
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "util"))
|
||||
return true;
|
||||
}
|
||||
|
||||
if (target.os.tag == .haiku) {
|
||||
if (eqlIgnoreCase(ignore_case, name, "root"))
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue