mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00

Ubuntu on 64 bits install lib in lib/x86_64-linux-gnu and meson correctly detect this. Thus it install libs (zimlib, kiwix) in this directory. However we look for pkgconfig files in $INTALL_DIR/lib64. And so, the lib is not found. We could force meson to install in $INSTALL_DIR/lib64 all the time but it is just better to follow the correct convention on Ubuntu. Reuse the algorithm used in meson to correctly detect the libprefix, use it and force all build script (autotools, cmake, meson) to install there. In the same way, ninja may be called ninja-build depending of the distribution. Or depending of how meson is installed, we may have to launch meson or meson.py. So we detect the command to launch to try to be as most as possible portable.
Languages
C++
66.1%
Roff
22.8%
Meson
4.9%
Dockerfile
4.5%
Shell
1.7%