mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-03 00:22:22 +00:00
- Progress on https://github.com/termux/termux-packages/issues/23492 - Fixes this error in the command `scripts/run-docker.sh ./build-package.sh -I -f fmt mariadb`: ``` -- Performing Test HAVE_SYSTEM_LIBFMT CMake Error: try_run() invoked in cross-compiling mode, please set the following cache variables appropriately: HAVE_SYSTEM_LIBFMT_EXITCODE (advanced) For details see /home/builder/.termux-build/mariadb/build/TryRunResults.cmake -- Performing Test HAVE_SYSTEM_LIBFMT - Failed ``` - After this change, if `mariadb` happens to build while `fmt` is present in `$TERMUX_PREFIX`, - no error will happen at build-time, - and additionally, no dependency on `libfmt.so` will be added to any file in `mariadb`, - verified using the command `for f in $(dpkg -L mariadb); do ldd $f 2>/dev/null | grep fmt; done` [no ci]