package/scons: explicitly specify host Python 3

All packages using scons are now using Python 3 to run it, so
explicitly set scons as using host-python3. This avoids a
spurious host Python 2 dependency if BR2_PACKAGE_PYTHON3 is not
set (for example, if no Python is packaged for the target).

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Robert Hancock 2020-07-13 21:39:27 -06:00 committed by Thomas Petazzoni
parent 5260f3189b
commit dd448234d2

View File

@ -10,6 +10,8 @@ SCONS_LICENSE = MIT
SCONS_LICENSE_FILES = LICENSE.txt
SCONS_SETUP_TYPE = distutils
HOST_SCONS_NEEDS_HOST_PYTHON = python3
HOST_SCONS_INSTALL_OPTS = \
--install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION)