summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2018-02-03 05:17:53 +1100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2018-02-03 05:17:53 +1100
commit5920bc6f72daacbfb0345c19af9e181110b0def6 (patch)
tree890a04f42564245deefad151912858eb2db9be7b
parentf13d0344853edda03d56e44365a90ad4eed22883 (diff)
Fix pkgconfig detection of mono
-rw-r--r--modules/mono/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/config.py b/modules/mono/config.py
index b4e6433256..7c1846dcc2 100644
--- a/modules/mono/config.py
+++ b/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']: