From 97aa5b8c6d0d9e99c71234b773149f9a597dd784 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 5 Feb 2012 14:29:00 +0900 Subject: [PATCH] Don't try to link with pthread on android. The pthread functions are in libc. --- config.d/pthread.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.d/pthread.m4 b/config.d/pthread.m4 index 1e70c3a11..e1a5ac777 100644 --- a/config.d/pthread.m4 +++ b/config.d/pthread.m4 @@ -1,7 +1,9 @@ if test "x$ac_cv_header_pthread_h" = "xyes"; then save_LIBS="$LIBS" case "$host_os" in - *qnx*) dnl qnx have all pthread* functions in the libc. + *android*) dnl android has all pthread* functions in the libc. + ;; + *qnx*) dnl qnx has all pthread* functions in the libc. ;; *openbsd*) LIBS="$LIBS -pthread"