aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-build_config_linux_pkg-config.py
blob: aedfccae77da1990ebe2a84ca96ef3ce1881ed92 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                       
                                    
                               



                                                                            
                                                                          
                              

             
--- build/config/linux/pkg-config.py.orig	2023-03-09 06:31:50 UTC
+++ build/config/linux/pkg-config.py
@@ -108,7 +108,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