python: add '_python_*' env vars to host python
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
2727b3fda3
commit
bb87de33dd
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ define HostPython
|
||||||
( export PYTHONPATH="$(PYTHONPATH)"; \
|
( export PYTHONPATH="$(PYTHONPATH)"; \
|
||||||
export PYTHONOPTIMIZE=""; \
|
export PYTHONOPTIMIZE=""; \
|
||||||
export PYTHONDONTWRITEBYTECODE=1; \
|
export PYTHONDONTWRITEBYTECODE=1; \
|
||||||
|
export _python_sysroot="$(STAGING_DIR)"; \
|
||||||
|
export _python_prefix="/usr"; \
|
||||||
|
export _python_exec_prefix="/usr"; \
|
||||||
$(1) \
|
$(1) \
|
||||||
$(HOST_PYTHON_BIN) $(2); \
|
$(HOST_PYTHON_BIN) $(2); \
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue