aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-tools_grit_grit_node_base.py
blob: d7ba162defa1c1b584754e70eeeec11a42c700b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- tools/grit/grit/node/base.py.orig	2025-06-30 07:04:30 UTC
+++ tools/grit/grit/node/base.py
@@ -497,7 +497,8 @@ class Node:
         value = defs
 
       elif name == 'is_linux':
-        value = target_platform == 'linux'
+        value = (target_platform == 'linux'
+                 or 'bsd' in target_platform)
       elif name == 'is_chromeos':
         value = target_platform == 'chromeos'
       elif name == 'is_macosx':