Unsolved .profile config for different android architecture
-
in my app, I use an external library, and I have two .so file, one built for arm 32 bit arch, and one for arm 64 bit
normally, i just build the 32bit apk, since in work with 64 bit as well
and my .pro file would look like thisandroid {
# the 32 .so file
ANDROID_EXTRA_LIBS += $$PWD/lib/libopenssl.so
}now, how could i specify the .profile so it can use corresponding .so file for different kit
something like
android-armeabi-v7a {
# the 32 .so file
ANDROID_EXTRA_LIBS += $$PWD/lib/libopenssl.so
}
android-arm64-v8a {
# the 64 .so file
ANDROID_EXTRA_LIBS += $$PWD/lib64/libopenssl.so
}