summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-03-12 09:47:18 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-03-12 15:30:02 +0900
commit3d3cdf09443528c891528facb78bd8ee2c4805f1 (patch)
tree13c131699a72607bb2e85e8dec2258ffb25ace00 /src/lib
parentbcfc58f460e265f464bc8ab0dc8423862d2d45ec (diff)
i have no idea what has happened here, but older glibs REQUIRe you
g_thread_init andf link to libgthread...
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore/ecore_glib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_glib.c b/src/lib/ecore/ecore_glib.c
index 1a4dd55bfa..813f998d69 100644
--- a/src/lib/ecore/ecore_glib.c
+++ b/src/lib/ecore/ecore_glib.c
@@ -222,6 +222,7 @@ _ecore_glib_init(void)
222 _ecore_glib_select_cond = malloc(sizeof(GCond)); 222 _ecore_glib_select_cond = malloc(sizeof(GCond));
223 g_cond_init(_ecore_glib_select_cond); 223 g_cond_init(_ecore_glib_select_cond);
224#else 224#else
225 if (!g_thread_get_initialized()) g_thread_init(NULL);
225 _ecore_glib_select_lock = g_mutex_new(); 226 _ecore_glib_select_lock = g_mutex_new();
226 _ecore_glib_select_cond = g_cond_new(); 227 _ecore_glib_select_cond = g_cond_new();
227#endif 228#endif