python3: use _python_sysroot for cross-compilation

This patch, taken from buildroot, avoids the use of host paths when
compiling third-party extensions.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry-picked from 523c52f6f2)
This commit is contained in:
Eneas U de Queiroz
2019-06-21 17:53:15 -03:00
committed by Josef Schlehofer
parent 29596da952
commit 493cc51a4d
2 changed files with 68 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION)
PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO)
PKG_NAME:=python3
PKG_RELEASE:=13
PKG_RELEASE:=14
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz