mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 05:00:07 +01:00
ANDROID: Support NDK r27x.
This fix has to be reported in LIBZMQ as well and will fix https://github.com/zeromq/libzmq/issues/4744.
This commit is contained in:
committed by
Luca Boccassi
parent
34f7fa2202
commit
c2f7f8ae12
@@ -355,8 +355,11 @@ function android_build_opts {
|
|||||||
|
|
||||||
_android_build_opts_process_binaries
|
_android_build_opts_process_binaries
|
||||||
|
|
||||||
# Since NDK r23 we don't need -lgcc due to LLVM being now the default
|
if [ ${NDK_NUMBER} -ge 2700 ] ; then
|
||||||
if [ ! -x "${TOOLCHAIN_PATH}/${TOOLCHAIN_HOST}-ar" ]; then
|
# Since NDK r27 symbols like '__aeabi_xxx' are no more exported in the dynamic lib.
|
||||||
|
export ANDROID_BUILD_LIBS="-lc -ldl -lm -llog -static-libstdc++"
|
||||||
|
elif [ ${NDK_NUMBER} -ge 2300 ] ; then
|
||||||
|
# Since NDK r23 we don't need -lgcc due to LLVM being now the default.
|
||||||
export ANDROID_BUILD_LIBS="-lc -ldl -lm -llog -lc++_shared"
|
export ANDROID_BUILD_LIBS="-lc -ldl -lm -llog -lc++_shared"
|
||||||
else
|
else
|
||||||
export ANDROID_BUILD_LIBS="-lc -lgcc -ldl -lm -llog -lc++_shared"
|
export ANDROID_BUILD_LIBS="-lc -lgcc -ldl -lm -llog -lc++_shared"
|
||||||
|
|||||||
Reference in New Issue
Block a user