Browse Source

Merge pull request #525 from commodo/python-env-launcher

python: add __PYENV_LAUNCHER__ env var
lilik-openwrt-22.03
sbyx 10 years ago
parent
commit
52f72ea696
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