From: Alexandru Ardelean Date: Sun, 9 Nov 2014 19:08:06 +0000 (+0200) Subject: python: add __PYENV_LAUNCHER__ env var X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F525%2Fhead;p=feed%2Fpackages.git python: add __PYENV_LAUNCHER__ env var Mostly useful for setuptools and pip during build. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk index 07f27197c2..b9349f3c1c 100644 --- a/lang/python/files/python-package.mk +++ b/lang/python/files/python-package.mk @@ -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) \