fix(configure) Don't add rt on Android

Library rt is included in the libc on Android: https://developer.android.com/ndk/guides/stable_apis#a3
This commit is contained in:
Guillaume Gigaud 2018-11-15 13:56:28 +01:00 committed by GitHub
parent ec476f908e
commit 92b8833838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,6 +99,9 @@ case "${host_os}" in
OPENCL_INC="" OPENCL_INC=""
AM_CONDITIONAL([ADD_RT], false) AM_CONDITIONAL([ADD_RT], false)
;; ;;
*android*)
AM_CONDITIONAL([ADD_RT], false)
;;
powerpc-*-darwin*) powerpc-*-darwin*)
OPENCL_LIBS="" OPENCL_LIBS=""
;; ;;