dukeify / fake-jni

An implementation of the JNI and JVMTI with support for direct interaction between natively registered classes and JVM objects.
Other
27 stars 10 forks source link

Add section to README about compiling for android #63

Closed Matthewacon closed 4 years ago

Matthewacon commented 4 years ago

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).