summaryrefslogtreecommitdiff
path: root/lang/python/files
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-03-06 15:29:30 +0100
committerSteven Barth <steven@midlink.org>2015-03-06 15:29:30 +0100
commit66331c6de2f8e2e56db4c25e0910896afd6f6b18 (patch)
tree65dec08a9e7b696f0dd32e5075156c9698e44445 /lang/python/files
parent05dbcba3d7e31dc606d484fd454404ae7d81595a (diff)
parentbb87de33dd85bf49f87606c58098013ae66e536b (diff)
Merge pull request #992 from commodo/python-patch-updates
python: patch updates
Diffstat (limited to 'lang/python/files')
-rw-r--r--lang/python/files/python-package.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk
index ba692ccf2..6936a0748 100644
--- 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); \
)