Android: Link to android_support with c++_shared

The NDK has done this in `build/core/definitions.mk` since r13
(r12 and below do so only for c++_static).
This commit is contained in:
Brad King 2017-07-12 08:29:08 -04:00
parent 372de3f803
commit e0fb3f314f

View File

@ -1,4 +1,5 @@
include(Platform/Android/ndk-stl-c++)
macro(__android_stl lang)
__android_stl_cxx(${lang} libc++_shared.so)
__android_stl_lib(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++/libs/${CMAKE_ANDROID_ARCH_ABI}/libandroid_support.a" 0)
endmacro()