Fix pkgconfig detection of mono

(cherry picked from commit 5920bc6f72)
This commit is contained in:
Benjamin Dobell 2018-02-03 05:17:53 +11:00 committed by Hein-Pieter van Braam
parent 79b931d093
commit 34d8625d82

View file

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