From eb2c750431b2bd353444b4fa3cc37758826cfead Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 14 Jun 2017 10:20:18 +0200 Subject: [PATCH] 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`. --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 5c0915416..97e375eea 100644 --- a/src/meson.build +++ b/src/meson.build @@ -20,7 +20,7 @@ endif if get_option('android') subdir('android') - install_dir = 'kiwix-lib/jniLibs/' + host_machine.cpu_family() + install_dir = 'kiwix-lib/jniLibs/' + meson.get_cross_property('android_abi') else install_dir = get_option('libdir') endif