mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-binutils.git
synced 2025-06-06 19:35:03 +02:00
add termux dependencies in configure.sh
This commit is contained in:
parent
d65c82fdf4
commit
691e9dc4c1
1 changed files with 6 additions and 2 deletions
|
@ -35,8 +35,12 @@ if [[ ! -z "$ACCEPT_ANY" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check dependencies for binutils and GCC
|
# Check dependencies for binutils and GCC
|
||||||
|
if command -v pkg >/dev/null 2>&1; then
|
||||||
if command -v apt >/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"
|
deps="libmpfr-dev libmpc-dev libgmp-dev libpng-dev libppl-dev flex g++ git texinfo xz-utils"
|
||||||
pm=apt
|
pm=apt
|
||||||
pm_has="dpkg -s"
|
pm_has="dpkg -s"
|
||||||
|
|
Loading…
Add table
Reference in a new issue