[patch/7] fix build failure with glib-2.0 2.31.x

Andrew Hughes ahughes at redhat.com
Wed Feb 22 06:13:59 PST 2012


----- Original Message -----
> Recent glib-2.0/gtk-2.0 don't add -lgthread to the linker flags
> anymore. the
> gthread-2.0 module has to be checked explicitly (g_thread_init is not
> found).
> The gthread-2.0 module is available for some years, and should be
> available in
> all distros.
> 

I think it may be the other way round.  2.24.8 adds -lgthread and
that's just about the newest version (upgrading to 2.24.10 now but
I don't expect it to change).  I presume it's thus actually older
versions that don't add it as the core didn't need it before.

> Checked that a 2.1 build does succeed.

This looks ok for HEAD.  Are you asking to backport it to the branches (2.0 and 2.1)?

> 
>    Matthias
> 

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list