From c92b4e11d3638bd5bccfe3804d35e7a86d36cb57 Mon Sep 17 00:00:00 2001 From: James Moore Date: Wed, 16 May 2018 12:08:04 -0700 Subject: Don't look for sched_yield on Android. The problem is that sched_yield is available on the target, but configure.ac is asking to build a host binary using the AC_SEARCH_LIBS macro. It can't configure for Android, since sched_yield isn't available on the host. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6e9ce1f5..7a5e3ab2 100644 --- a/configure.ac +++ b/configure.ac @@ -190,7 +190,7 @@ AM_CONDITIONAL([HAVE_PTHREAD], [test "x$ax_pthread_ok" = "xyes"]) AC_CXX_STL_HASH case "$target_os" in - mingw* | cygwin* | win* | aix*) + mingw* | cygwin* | win* | aix* | *android* ) ;; *) # Need to link against rt on Solaris -- cgit v1.2.3