Explorar o código

Merge pull request #16331 from Benjamin-Dobell/pull/fix-pkgconfig-mono

Fixed Mono builds on macOS (pkgconfig detection of mono)
Rémi Verschelde %!s(int64=7) %!d(string=hai) anos
pai
achega
3493c5a337
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      modules/mono/config.py

+ 1 - 0
modules/mono/config.py

@@ -159,6 +159,7 @@ def configure(env):
             mono_so_name = ''
 
             tmpenv = Environment()
+            tmpenv.AppendENVPath('PKG_CONFIG_PATH', os.getenv('PKG_CONFIG_PATH'))
             tmpenv.ParseConfig('pkg-config monosgen-2 --libs-only-L')
 
             for hint_dir in tmpenv['LIBPATH']: