diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2015-03-06 11:29:23 +0200 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2015-03-06 14:18:45 +0200 |
| commit | bb87de33dd85bf49f87606c58098013ae66e536b (patch) | |
| tree | cc331cc3b269755670f8de404cc3344ca22e6871 /lang/python/files/python-package.mk | |
| parent | 2727b3fda35c0ecec50c2e0bbd7373d824b6a5c7 (diff) | |
python: add '_python_*' env vars to host python
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/files/python-package.mk')
| -rw-r--r-- | lang/python/files/python-package.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk index c8cbcda57..ed1f37e01 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); \ ) |
