buildroot/support/dependencies/check-host-python3.mk

9 lines
319 B
Makefile

# Since version 2.29, glibc requires python 3.4 or later to build the GNU C Library.
# https://www.sourceware.org/ml/libc-alpha/2019-01/msg00723.html
BR2_PYTHON3_VERSION_MIN = 3.4
ifeq (,$(call suitable-host-package,python3,$(BR2_PYTHON3_VERSION_MIN) python3 python))
BR2_PYTHON3_HOST_DEPENDENCY = host-python3
endif