prepare-host: add libffi-dev host dependency, needed for Python3 setuptools (when prebuilt wheel not found)

- fixes errors that show up only when building on non-arm64/amd64, when there's no prebuilt wheel (eg on riscv64)
This commit is contained in:
Ricardo Pardini
2024-03-03 01:08:13 +01:00
committed by Igor
parent 9bef0a5e5a
commit cd0820a0d5

View File

@@ -289,8 +289,8 @@ function adaptative_prepare_host_dependencies() {
### Python
host_deps_add_extra_python # See python-tools.sh::host_deps_add_extra_python()
# Python3 -- required for Armbian's Python tooling, and also for more recent u-boot builds. Needs 3.9+
host_dependencies+=("python3-dev" "python3-distutils" "python3-setuptools" "python3-pip")
# Python3 -- required for Armbian's Python tooling, and also for more recent u-boot builds. Needs 3.9+; ffi-dev is needed for some Python packages when the wheel is not prebuilt
host_dependencies+=("python3-dev" "python3-distutils" "python3-setuptools" "python3-pip" "libffi-dev")
# Python2 -- required for some older u-boot builds
# Debian 'sid'/'bookworm' and Ubuntu 'lunar' does not carry python2 anymore; in this case some u-boot's might fail to build.