mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
compiler: Link libc by default when targeting NetBSD.
We don't yet have a direct syscall layer in std.os.netbsd.
This commit is contained in:
parent
d29ba75c84
commit
c5e669ff76
@ -339,6 +339,7 @@ pub fn resolve(options: Options) ResolveError!Config {
|
||||
// These targets don't require libc, but we don't yet have a syscall layer for them,
|
||||
// so we default to linking libc for now.
|
||||
.freebsd,
|
||||
.netbsd,
|
||||
=> break :b true,
|
||||
else => {},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user