--- build/config/BUILD.gn.orig	2025-08-26 20:49:50 UTC
+++ build/config/BUILD.gn
@@ -209,6 +209,10 @@ config("default_libs") {
     # Targets should choose to explicitly link frameworks they require. Since
     # linking can have run-time side effects, nothing should be listed here.
     libs = []
+  } else if (is_bsd) {
+    libs = [
+      "pthread",
+    ]
   } else if (is_linux || is_chromeos) {
     libs = [
       "dl",
