|
|
|
@ -981,7 +981,13 @@ if( BUILD_WITH_ANDROID_NDK ) |
|
|
|
|
set( ANDROID_EXCEPTIONS ON ) |
|
|
|
|
set( ANDROID_RTTI ON ) |
|
|
|
|
if( EXISTS "${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/${ANDROID_COMPILER_VERSION}" ) |
|
|
|
|
set( __libstl "${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/${ANDROID_COMPILER_VERSION}" ) |
|
|
|
|
if( ARMEABI_V7A AND ANDROID_COMPILER_VERSION VERSION_EQUAL "4.7" AND ANDROID_NDK_RELEASE STREQUAL "r8d" ) |
|
|
|
|
# gnustl binary for 4.7 compiler is buggy :( |
|
|
|
|
# TODO: look for right fix |
|
|
|
|
set( __libstl "${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/4.6" ) |
|
|
|
|
else() |
|
|
|
|
set( __libstl "${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/${ANDROID_COMPILER_VERSION}" ) |
|
|
|
|
endif() |
|
|
|
|
else() |
|
|
|
|
set( __libstl "${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++" ) |
|
|
|
|
endif() |
|
|
|
|