mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
python: add '_python_*' env vars to host python
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -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); \
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user