aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-build_config_linux_pkg-config.py
blob: e48b205448bd4b452c63d3e9e4aad64011c5d98a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- build/config/linux/pkg-config.py.orig	2022-02-07 13:39:41 UTC
+++ build/config/linux/pkg-config.py
@@ -109,7 +109,7 @@ def main():
   # If this is run on non-Linux platforms, just return nothing and indicate
   # success. This allows us to "kind of emulate" a Linux build from other
   # platforms.
-  if "linux" not in sys.platform:
+  if not sys.platform.startswith(tuple(['linux', 'openbsd', 'freebsd'])):
     print("[[],[],[],[],[]]")
     return 0