aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-build_config_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-build_config_BUILD.gn')
-rw-r--r--devel/electron23/files/patch-build_config_BUILD.gn22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-build_config_BUILD.gn b/devel/electron23/files/patch-build_config_BUILD.gn
new file mode 100644
index 000000000000..36a12d51c8be
--- /dev/null
+++ b/devel/electron23/files/patch-build_config_BUILD.gn
@@ -0,0 +1,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") {