mirror of https://github.com/kiwix/libkiwix.git
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:
parent
7132775d67
commit
eb2c750431
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue