浏览代码

Fix pkgconfig detection of mono

Benjamin Dobell 7 年之前
父节点
当前提交
5920bc6f72
共有 1 个文件被更改,包括 1 次插入0 次删除
  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']: