aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-tools_grit_grit_node_base.py
blob: a764b3794b4ce8bbe1eed6728ceb48e702aa09ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- tools/grit/grit/node/base.py.orig	2025-08-26 20:49:50 UTC
+++ tools/grit/grit/node/base.py
@@ -491,7 +491,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':