Browse Source

python: add '_python_*' env vars to host python

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
parent
commit
bb87de33dd
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      lang/python/files/python-package.mk

+ 3
- 0
lang/python/files/python-package.mk View File

@ -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…
Cancel
Save