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:
parent
5260f3189b
commit
dd448234d2
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user