diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-13 01:46:37 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-17 04:41:27 +0200 |
| commit | c5e669ff768857df3cfab774318938ddfc254b90 (patch) | |
| tree | 9e4890946143b43aa9c34a0a56007642b951713b /src/Compilation | |
| parent | d29ba75c848c6727fdbd796595a5356ef2aa2408 (diff) | |
| download | zig-c5e669ff768857df3cfab774318938ddfc254b90.tar.gz zig-c5e669ff768857df3cfab774318938ddfc254b90.zip | |
compiler: Link libc by default when targeting NetBSD.
We don't yet have a direct syscall layer in std.os.netbsd.
Diffstat (limited to 'src/Compilation')
| -rw-r--r-- | src/Compilation/Config.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compilation/Config.zig b/src/Compilation/Config.zig index 581f1eb624..1251552086 100644 --- a/src/Compilation/Config.zig +++ b/src/Compilation/Config.zig @@ -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 => {}, } |
