iotivity: force use of python2 for scons

iotivity's scons build script is not compatible with python3, so use
python2.7 from python/host to run it.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2019-08-14 08:52:41 -03:00
parent 4b0eaf9471
commit 12528c3761
No known key found for this signature in database
GPG Key ID: 1EB043ABD7ACF202
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ PKG_SOURCE_URL:=http://mirrors.kernel.org/${PKG_NAME}/${PKG_VERSION}/
PKG_HASH:=7dcd9f0f48263c6b27a2c3d085dd7278b5c0feed1dfec8872a04899707fa23d8
PKG_USE_MIPS16:=0
PKG_BUILD_DEPENDS:=boost
PKG_BUILD_DEPENDS:=boost python/host
PKG_MAINTAINER:=Hauke Mehrtens <hauke.mehrtens@intel.com>
@ -227,7 +227,7 @@ endef
define Build/Configure
(cd $(PKG_BUILD_DIR); \
$(SCONS_VARS) \
scons \
python2.7 $(STAGING_DIR_HOST)/bin/scons.py \
$(SCONS_OPTIONS) \
)
endef