This path is no more valid, since NDK r25, where one should use LLVM path.
Ok, once this is fixed, ./configure requires also the path to libc.so. I don't understand why libc.so is now required, actually, but without this, ./configure fails to build its conftest.
Solution: Fix invalid LDFLAGS.
Notes:
To be reported to CZMQ/ZYRE via ZPROJECT.
Tested successfully with Android Emulator (x86 & x86_64).
Still need some more work, as execution still fails with physical devices (observed on arm64).
Introduced ANDROID_STL, ANDROID_STL_ROOT & ANDROID_LIBC_ROOT. All are initialized in android_build_helper.sh.
New mechanism MUST be compatible with former NDK versions.
With the help of the dump of ./configure options (former PR):
We can observe that LDFLAGS has invalid
-L<path_to_libc++_shared.so>
:This path is no more valid, since NDK r25, where one should use LLVM path.
Ok, once this is fixed, ./configure requires also the path to libc.so. I don't understand why libc.so is now required, actually, but without this, ./configure fails to build its conftest.
Solution: Fix invalid LDFLAGS.
Notes:
To be reported to CZMQ/ZYRE via ZPROJECT.
Tested successfully with Android Emulator (x86 & x86_64).
Still need some more work, as execution still fails with physical devices (observed on arm64).
Introduced
ANDROID_STL
,ANDROID_STL_ROOT
&ANDROID_LIBC_ROOT
. All are initialized inandroid_build_helper.sh
.New mechanism MUST be compatible with former NDK versions.