python: add '_python_*' env vars to host python 992/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 6 Mar 2015 09:29:23 +0000 (11:29 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 6 Mar 2015 12:18:45 +0000 (14:18 +0200)
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/files/python-package.mk

index c8cbcda57005aa986938ff8d3800a9850dbdd668..ed1f37e01e85af3e4e28003184841e22d44d589c 100644 (file)
@@ -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); \
        )