--- build/config/BUILD.gn.orig 2024-08-01 05:47:53 UTC +++ build/config/BUILD.gn @@ -213,6 +213,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",