From fdf9762b37ee35d051a2ac2f4cb94d3ef8d9aad3 Mon Sep 17 00:00:00 2001 From: caro Date: Tue, 3 Nov 2009 16:53:21 +0000 Subject: [PATCH] add pthread support on Windows git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@43435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- m4/efl_pthread.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/m4/efl_pthread.m4 b/m4/efl_pthread.m4 index 30f364b..7bd341c 100644 --- a/m4/efl_pthread.m4 +++ b/m4/efl_pthread.m4 @@ -41,13 +41,17 @@ AC_MSG_RESULT([${_efl_enable_pthread}]) if test "x${_efl_have_pthread}" = "xyes" ; then case "$host_os" in + mingw*) + EFL_PTHREAD_CFLAGS="-mthreads" + EFL_PTHREAD_LIBS="-mthreads -lpthreadGC2" + ;; solaris*) EFL_PTHREAD_CFLAGS="-mt" EFL_PTHREAD_LIBS="-mt" ;; *) EFL_PTHREAD_CFLAGS="-pthread" - EFL_PTHREAD_LIBS="-pthead" + EFL_PTHREAD_LIBS="-pthread" ;; esac fi -- 2.7.4