mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 01:34:31 +04:00
python: add __PYENV_LAUNCHER__ env var
Mostly useful for setuptools and pip during build. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -89,6 +89,7 @@ define Build/Compile/PyMod
|
||||
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(PYTHON_INC_DIR)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -lpython$(PYTHON_VERSION)" \
|
||||
_PYTHON_HOST_PLATFORM="linux-$(ARCH)" \
|
||||
__PYVENV_LAUNCHER__="/usr/bin/$(PYTHON)" \
|
||||
$(3) \
|
||||
, \
|
||||
./setup.py $(2) \
|
||||
|
||||
Reference in New Issue
Block a user