mono: Request monosgen-2 explicitly via pkg-config
Prevents GC mismatch between mono binary and library, fixes #11916.
This commit is contained in:
parent
ba9486a4d3
commit
cd69dcafb7
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue