From: Alexandru Ardelean Date: Fri, 6 Mar 2015 09:29:23 +0000 (+0200) Subject: python: add '_python_*' env vars to host python X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=bb87de33dd85bf49f87606c58098013ae66e536b;p=openwrt-packages.git python: add '_python_*' env vars to host python Signed-off-by: Alexandru Ardelean --- 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); \ )