summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-14 15:41:55 +0100
committerGitHub <noreply@github.com>2018-02-14 15:41:55 +0100
commit3493c5a3379f4f480d65dd8f6729190a60eabd65 (patch)
tree957ef2638b3322395c53d75342ed884fea5599dd
parentaeffa1cd106bc828d0f113ff600b9431fb624f72 (diff)
parent5920bc6f72daacbfb0345c19af9e181110b0def6 (diff)
Merge pull request #16331 from Benjamin-Dobell/pull/fix-pkgconfig-mono
Fixed Mono builds on macOS (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']: