summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_config_BUILD.gn
blob: 36a12d51c8be0c8e3069f69444539d2cfdee5f65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- build/config/BUILD.gn.orig	2022-09-24 10:57:32 UTC
+++ build/config/BUILD.gn
@@ -215,13 +215,17 @@ config("default_libs") {
       "CoreText.framework",
       "Foundation.framework",
     ]
-  } else if (is_linux || is_chromeos) {
+  } else if ((is_linux && !is_bsd) || is_chromeos) {
     libs = [
       "dl",
       "pthread",
       "rt",
     ]
-  }
+  } else if (is_bsd) {
+    libs = [
+      "pthread",
+    ]
+ }
 }
 
 group("common_deps") {