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:
2727b3f
)
python: add '_python_*' env vars to host python
author
Alexandru Ardelean
<redacted>
Fri, 6 Mar 2015 09:29:23 +0000
(11:29 +0200)
committer
Alexandru Ardelean
<redacted>
Fri, 6 Mar 2015 12:18:45 +0000
(14:18 +0200)
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 c8cbcda57005aa986938ff8d3800a9850dbdd668..ed1f37e01e85af3e4e28003184841e22d44d589c 100644
(file)
--- a/
lang/python/files/python-package.mk
+++ b/
lang/python/files/python-package.mk
@@
-25,6
+25,9
@@
define HostPython
( export PYTHONPATH="$(PYTHONPATH)"; \
export PYTHONOPTIMIZE=""; \
export PYTHONDONTWRITEBYTECODE=1; \
+ export _python_sysroot="$(STAGING_DIR)"; \
+ export _python_prefix="/usr"; \
+ export _python_exec_prefix="/usr"; \
$(1) \
$(HOST_PYTHON_BIN) $(2); \
)
git clone https://git.99rst.org/PROJECT