summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorsbyx <steven@midlink.org>2014-11-09 21:12:14 +0100
committersbyx <steven@midlink.org>2014-11-09 21:12:14 +0100
commit52f72ea696bbf7e0e1b573b0021a78b2a695ca97 (patch)
treececee1d5a0a40a4a01264010363fd53b9fa60d95 /lang/python
parentb026b50320f0a6c9c53530d58e25da6f627b5231 (diff)
parenta91a992abb1fe9b7c4e4e5d11532dbf18c5b213d (diff)
Merge pull request #525 from commodo/python-env-launcher
python: add __PYENV_LAUNCHER__ env var
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/files/python-package.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk
index 07f27197c..b9349f3c1 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) \