GNOME Bugzilla – Bug 696557
static glib/gthread broken on Windows
Last modified: 2014-04-08 13:23:26 UTC
Commit 80730bc broke static linking of glib on Windows since it added a DllMain function that has to be called (and as an extra bonus can conflict with the "real" DllMain() if you link glib into your library. Commit 47444da continued on this theme and moved even more stuff into DllMain(). You really need to back this out as a low level library as glib is very commonly statically linked, especially on Windows where it is not part of the system.
Created attachment 239864 [details] [review] glib-2.34.3-win32-init.patch Suggested first step.
Looks like a duplicate of bug #698118, which has a patch which is already included in Fedora’s mingw-glib2 package. *** This bug has been marked as a duplicate of bug 698118 ***