Use the android abi instead of cpu_family as install dir name.

Android will look in specific repository to find native libs.
We need to use the `android_abi` name defined in the cross_compilation
file instead of `cpu_family`.
This commit is contained in:
Matthieu Gautier 2017-06-14 10:20:18 +02:00
parent 7132775d67
commit eb2c750431
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ endif
if get_option('android') if get_option('android')
subdir('android') subdir('android')
install_dir = 'kiwix-lib/jniLibs/' + host_machine.cpu_family() install_dir = 'kiwix-lib/jniLibs/' + meson.get_cross_property('android_abi')
else else
install_dir = get_option('libdir') install_dir = get_option('libdir')
endif endif