add termux dependencies in configure.sh

This commit is contained in:
neiviv-ui 2021-05-25 21:00:49 +02:00
parent d65c82fdf4
commit 691e9dc4c1
1 changed files with 6 additions and 2 deletions

View File

@ -35,8 +35,12 @@ if [[ ! -z "$ACCEPT_ANY" ]]; then
fi
# Check dependencies for binutils and GCC
if command -v apt >/dev/null 2>&1; then
if command -v pkg >/dev/null 2>&1; then
deps="libmpfr libmpc libgmp libpng flex g++ git texinfo xz-utils"
pm=pkg
pm_has="dpkg -s"
pm_install="pkg install"
elif command -v apt >/dev/null 2>&1; then
deps="libmpfr-dev libmpc-dev libgmp-dev libpng-dev libppl-dev flex g++ git texinfo xz-utils"
pm=apt
pm_has="dpkg -s"