On 02/15/2012 10:49 AM, Peter Maydell wrote: > On 15 February 2012 16:41, Meador Inge <mead...@codesourcery.com> wrote: >> glib calls 'CoTaskMemFree' which is defined by ole32.dll. >> Therefore when building with mingw32 -lole32 should be in >> 'LIBS'. > > Not that I'm objecting to the patch, but isn't this technically > a bug in the pkg-config for glib with mingw32 that we're working > around?
Yup, the issue is fixed in recent versions of glib: http://git.gnome.org/browse/glib/commit/?id=b79eae5c197aeec8d57f39c0f7bf5d5114068bea http://git.gnome.org/browse/glib/commit/?id=5377c0de0108d292ea3e23fa6d90410f9ac9fa00 I am OK with backporting the glib fix for mingw32 builds. Sorry for the noise. -- Meador Inge CodeSourcery / Mentor Embedded http://www.mentor.com/embedded-software