git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2c1bc16
)
python: add __PYENV_LAUNCHER__ env var
author
Alexandru Ardelean
<redacted>
Sun, 9 Nov 2014 19:08:06 +0000
(21:08 +0200)
committer
Alexandru Ardelean
<redacted>
Sun, 9 Nov 2014 19:08:08 +0000
(21:08 +0200)
Mostly useful for setuptools and pip during build.
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/files/python-package.mk
patch
|
blob
|
history
diff --git
a/lang/python/files/python-package.mk
b/lang/python/files/python-package.mk
index 07f27197c2899c5f2e3122999ebf6cf414ae663d..b9349f3c1c87e5f3b9181a3d9cb02a90ea79c224 100644
(file)
--- 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) \
git clone https://git.99rst.org/PROJECT