Our JNI codes are built with clang and APP_STL:=c++_static, however, after downloaded openCV and tried to link static openCV libraries to our app. Link error happens due to default openCV static libraries are built with gnustl_static.
So we tried to build openCV ourselves with c++_static, but failed to build with follow script. cmake -DCMAKE_TOOLCHAIN_FILE=path/to/the/android.toolchain.cmake .. -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-clang3.5 -DANDROID_STL=c++_static make -j8
who can help me?