package/pkg-python: apply host platform and project base to pep517 env
The _PYTHON_HOST_PLATFORM and _PYTHON_PROJECT_BASE variables should also be set for pep517 builds as they are not setuptools/distutils specific. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
38c4f6b807
commit
1f4ea8c95a
@ -113,6 +113,8 @@ HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \
|
||||
|
||||
# Target pep517-based packages
|
||||
PKG_PYTHON_PEP517_ENV = \
|
||||
_PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \
|
||||
_PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \
|
||||
_PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \
|
||||
PATH=$(BR_PATH) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
|
Loading…
Reference in New Issue
Block a user