Commit f70e6874 authored by Sebastian Dröge's avatar Sebastian Dröge

Fix build on Android

Android doesn't have a libpthread and includes all relevant functions
in libc.
parent 6597e084
......@@ -109,6 +109,11 @@ case "${host_os}" in
mingw*|pw32*|cygwin*)
AC_DEFINE(HAVE_THREAD_WIN32, 1, [Use Windows thread code])
;;
*android*)
AC_DEFINE(HAVE_THREAD_PTHREAD, 1, [Use pthread thread code])
PTHREAD_CFLAGS=
PTHREAD_LIBS=
;;
*)
AC_DEFINE(HAVE_THREAD_PTHREAD, 1, [Use pthread thread code])
PTHREAD_CFLAGS=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment