|
From: | Olivier Baur |
Subject: | [Bug-gnubg] Multiprocessing and GDK |
Date: | Wed, 4 Jun 2003 17:01:54 +0200 |
Hi all!I've added the g_thread_init() and gdk_threads_enter() calls to real_main() in gnubg.c, and now gnubg doesn't crash/lock up anymore when using threads.
However, gnubg must be linked with lib gthread-2.0 (or, actually, with the libraries that the command pkg-config --libs gthread-2.0 outputs); I'm quite new to the GNU make/configure mechanism, so where do we add this lib requirement in the configure.in/config.h/.h.in/Makefile.in/.am "jungle"? :-)
Also, I need to add a Mac specific arg for the linker ("-framework Carbon"). Where should I do this?
Best, -- Olivier
[Prev in Thread] | Current Thread | [Next in Thread] |