mono: Request monosgen-2 explicitly via pkg-config

Prevents GC mismatch between mono binary and library, fixes .
This commit is contained in:
Rémi Verschelde 2017-10-14 23:54:23 +02:00
parent ba9486a4d3
commit cd69dcafb7

View file

@ -130,7 +130,7 @@ def configure(env):
if mono_static:
raise RuntimeError('mono-static: Not supported with pkg-config. Specify a mono prefix manually')
env.ParseConfig('pkg-config mono-2 --cflags --libs')
env.ParseConfig('pkg-config monosgen-2 --cflags --libs')
env.Append(LINKFLAGS='-rdynamic')