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

Fixed Mono builds on macOS (pkgconfig detection of mono)
This commit is contained in:
Rémi Verschelde 2018-02-14 15:41:55 +01:00 committed by GitHub
commit 3493c5a337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']: