FFI_CC and FFI_CXX need to be set to the respective X-linux-androidY-clang and X-linux-androidY-clang++ cross-compilers in order to properly compile. The default compilers set by the android cmake toolchain does not work (CMAKE_C_COMPILER and CMAKE_CXX_COMPILER).
FFI_CC
andFFI_CXX
need to be set to the respectiveX-linux-androidY-clang
andX-linux-androidY-clang++
cross-compilers in order to properly compile. The default compilers set by the android cmake toolchain does not work (CMAKE_C_COMPILER
andCMAKE_CXX_COMPILER
).