python: add __PYENV_LAUNCHER__ env var 525/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 9 Nov 2014 19:08:06 +0000 (21:08 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 9 Nov 2014 19:08:08 +0000 (21:08 +0200)
Mostly useful for setuptools and pip during build.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/files/python-package.mk

index 07f27197c2899c5f2e3122999ebf6cf414ae663d..b9349f3c1c87e5f3b9181a3d9cb02a90ea79c224 100644 (file)
@@ -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) \