summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c351f0b7f9c4..c9369498d88f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10322,7 +10322,7 @@ dnl =================================================
AC_MSG_CHECKING([whether to build with the OpenCL support.])
ENABLE_OPENCL=
-if test "x$enable_opencl" != "xno"; then
+if test $_os != iOS -a $_os != Android -a "x$enable_opencl" != "xno"; then
AC_MSG_RESULT([yes])
enable_opencl=yes
ENABLE_OPENCL=TRUE