Browse Source

python: add __PYENV_LAUNCHER__ env var

Mostly useful for setuptools and pip during build.

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

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

@ -89,6 +89,7 @@ define Build/Compile/PyMod
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(PYTHON_INC_DIR)" \ CPPFLAGS="$(TARGET_CPPFLAGS) -I$(PYTHON_INC_DIR)" \
LDFLAGS="$(TARGET_LDFLAGS) -lpython$(PYTHON_VERSION)" \ LDFLAGS="$(TARGET_LDFLAGS) -lpython$(PYTHON_VERSION)" \
_PYTHON_HOST_PLATFORM="linux-$(ARCH)" \ _PYTHON_HOST_PLATFORM="linux-$(ARCH)" \
__PYVENV_LAUNCHER__="/usr/bin/$(PYTHON)" \
$(3) \ $(3) \
, \ , \
./setup.py $(2) \ ./setup.py $(2) \


Loading…
Cancel
Save