Browse Source

python2: fix typo in HostPython function

I call this the curse of the End-Of-The-Year for me.

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

+ 3
- 3
lang/python/files/python-host.mk View File

@ -12,11 +12,11 @@ HOST_PYTHON_PKG_DIR:=/usr/lib/python$(PYTHON_VERSION)/site-packages
HOST_PYTHONPATH:=$(HOST_PYTHON_LIB_DIR):$(STAGING_DIR_HOST)/$(HOST_PYTHON_PKG_DIR) HOST_PYTHONPATH:=$(HOST_PYTHON_LIB_DIR):$(STAGING_DIR_HOST)/$(HOST_PYTHON_PKG_DIR)
define HostPython define HostPython
if [ "$(strip $(3))" == "HOST" ]; then \ if [ "$(strip $(3))" == "HOST" ]; then \
export PYTHONPATH:=$(HOST_PYTHONPATH); \
export PYTHONPATH="$(HOST_PYTHONPATH)"; \
export _python_sysroot="$(STAGING_DIR_HOST)/usr"; \ export _python_sysroot="$(STAGING_DIR_HOST)/usr"; \
else \ else \
exort PYTHONPATH:=$(PYTHONPATH); \
export _python_sysroot:=$(STAGING_DIR)/usr; \
export PYTHONPATH="$(PYTHONPATH)"; \
export _python_sysroot="$(STAGING_DIR)/usr"; \
fi; \ fi; \
export PYTHONOPTIMIZE=""; \ export PYTHONOPTIMIZE=""; \
export PYTHONDONTWRITEBYTECODE=1; \ export PYTHONDONTWRITEBYTECODE=1; \


Loading…
Cancel
Save