Re: [PATCH] Fix build with recent glib



On Tue, 2011-11-22 at 09:32 +0100, Juan A. Suarez Romero wrote:
> 
> "gthread-2.0" is there since lot of time ago. But so far, gthread was
> included automatically when using glib (with pkg-config), and in
> latest
> versions this was removed. 


I've done a brief check, and actually gthread-2.0 is needed because we
invoke g_thread_init() in a small test program (wc-test.c)

But of course, if we remove that call, then gthread-2.0 is not needed.
And I think the call is really not needed, as we do not use any thread
at all.

I've removed it and the test program worked fine.

Victor, can you confirm if this can be removed?

	J.A.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]