24 lines
461 B
Text
24 lines
461 B
Text
|
Index: build/config/BUILD.gn
|
||
|
--- build/config/BUILD.gn.orig
|
||
|
+++ build/config/BUILD.gn
|
||
|
@@ -218,13 +218,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") {
|