--- build/config/BUILD.gn.orig 2023-08-10 01:48:31 UTC +++ build/config/BUILD.gn @@ -214,6 +214,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",