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