Don't try to link with pthread on android.

The pthread functions are in libc.
This commit is contained in:
Bill Currie 2012-02-05 14:29:00 +09:00
parent cef004fc15
commit 97aa5b8c6d

View file

@ -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"