opnsense-ports/devel/electron22/files/patch-build_config_BUILD.gn
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

22 lines
456 B
Text

--- 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") {