Browse Source

mono: Request monosgen-2 explicitly via pkg-config

Prevents GC mismatch between mono binary and library, fixes #11916.
Rémi Verschelde 8 years ago
parent
commit
cd69dcafb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mono/config.py

+ 1 - 1
modules/mono/config.py

@@ -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')