diff options
author | James Moore <james@restphone.com> | 2018-05-16 12:08:04 -0700 |
---|---|---|
committer | James Moore <james@restphone.com> | 2018-05-16 12:08:04 -0700 |
commit | c92b4e11d3638bd5bccfe3804d35e7a86d36cb57 (patch) | |
tree | aba2f6c201152652d1b0f82d2cc1576dbba24b1d /configure.ac | |
parent | b83b8e3d448fa5395792630a61aad5e09ff74552 (diff) | |
download | protobuf-c92b4e11d3638bd5bccfe3804d35e7a86d36cb57.tar.gz protobuf-c92b4e11d3638bd5bccfe3804d35e7a86d36cb57.tar.bz2 protobuf-c92b4e11d3638bd5bccfe3804d35e7a86d36cb57.zip |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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 |