@ -13,10 +13,10 @@ HOST_PYTHONPATH:=$(HOST_PYTHON_LIB_DIR):$(STAGING_DIR_HOST)/$(HOST_PYTHON_PKG_DI
d e f i n e H o s t P y t h o n
d e f i n e H o s t P y t h o n
if [ " $( strip $( 3) ) " = = "HOST" ] ; then \
if [ " $( strip $( 3) ) " = = "HOST" ] ; then \
export PYTHONPATH = " $( HOST_PYTHONPATH) " ; \
export PYTHONPATH = " $( HOST_PYTHONPATH) " ; \
export _python_sysroot = " $( STAGING_DIR_HOST) /usr "; \
export _python_sysroot = " $( STAGING_DIR_HOST) " ; \
else \
else \
export PYTHONPATH = " $( PYTHONPATH) " ; \
export PYTHONPATH = " $( PYTHONPATH) " ; \
export _python_sysroot = " $( STAGING_DIR) /usr "; \
export _python_sysroot = " $( STAGING_DIR) " ; \
fi ; \
fi ; \
export PYTHONOPTIMIZE = "" ; \
export PYTHONOPTIMIZE = "" ; \
export PYTHONDONTWRITEBYTECODE = 1; \
export PYTHONDONTWRITEBYTECODE = 1; \
@ -29,7 +29,7 @@ endef
# These configure args are needed in detection of path to Python header files
# These configure args are needed in detection of path to Python header files
# using autotools.
# using autotools.
HOST_CONFIGURE_ARGS += \
HOST_CONFIGURE_ARGS += \
_python_sysroot = " $( STAGING_DIR_HOST) /usr " \
_python_sysroot = " $( STAGING_DIR_HOST) " \
_python_prefix = "/usr" \
_python_prefix = "/usr" \
_python_exec_prefix = "/usr"
_python_exec_prefix = "/usr"