mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 10:58:58 +00:00
std.Target: Only consider libxnet to be a libc library name for musl.
glibc has never had this.
This commit is contained in:
parent
879a39a700
commit
bdb00b393e
@ -2936,8 +2936,6 @@ pub fn isLibCLibName(target: std.Target, name: []const u8) bool {
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "util"))
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "xnet"))
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "resolv"))
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "dl"))
|
||||
@ -2947,6 +2945,8 @@ pub fn isLibCLibName(target: std.Target, name: []const u8) bool {
|
||||
if (target.abi.isMusl()) {
|
||||
if (eqlIgnoreCase(ignore_case, name, "crypt"))
|
||||
return true;
|
||||
if (eqlIgnoreCase(ignore_case, name, "xnet"))
|
||||
return true;
|
||||
}
|
||||
|
||||
if (target.os.tag.isDarwin()) {
|
||||
|
Loading…
Reference in New Issue
Block a user