python: use default host build prefix, remove cross-compile workarounds for host
authorJeffery To <redacted>
Fri, 4 Mar 2016 18:09:05 +0000 (02:09 +0800)
committerJeffery To <redacted>
Fri, 4 Mar 2016 18:30:12 +0000 (02:30 +0800)
commitb70b978cc61bdd6fcdc7f8f7bae8ee3ef16baf4a
tree6f8141e7575bfe70cfb153d0a7100b4a15df111f
parentd43df25b1f3d2ef811f10d4f3297c6c42624b2f4
python: use default host build prefix, remove cross-compile workarounds for host

The sets host Python's prefix and exec-prefix to the same value
($(STAGING_DIR)/host for packages, as currently defined in
include/host-build.mk), which avoids the case where pyconfig.h is
not in the same location as Python's other header files (see
https://bugs.python.org/issue896330).

This also removes some cross compilation workarounds
(_python_sysroot/prefix/exec_prefix, disabling byte-compilation,
__PYVENV_LAUNCHER__) that are not necessary when compiling packages
for host.

Signed-off-by: Jeffery To <redacted>
lang/python/Makefile
lang/python/files/python-host.mk
lang/python/files/python-package.mk
git clone https://git.99rst.org/PROJECT