| ... | ... | @@ -324,7 +324,7 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { |
| 324 | 324 | // The linking order of these is significant and should match the order other |
| 325 | 325 | // c compilers such as gcc or clang use. |
| 326 | 326 | const result: []const []const u8 = switch (target.os.tag) { |
| 327 | | .netbsd, .openbsd => &.{ "-lm", "-lpthread", "-lc", "-lutil" }, |
| 327 | .dragonfly, .freebsd, .netbsd, .openbsd => &.{ "-lm", "-lpthread", "-lc", "-lutil" }, |
| 328 | 328 | // Solaris releases after 10 merged the threading libraries into libc. |
| 329 | 329 | .solaris, .illumos => &.{ "-lm", "-lsocket", "-lnsl", "-lc" }, |
| 330 | 330 | .haiku => &.{ "-lm", "-lroot", "-lpthread", "-lc", "-lnetwork" }, |