diff options
Diffstat (limited to 'mk/host.mk')
-rw-r--r-- | mk/host.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/host.mk b/mk/host.mk index 9c5ca1caa..9ff38ac6f 100644 --- a/mk/host.mk +++ b/mk/host.mk @@ -6,6 +6,11 @@ ifneq (,$(findstring host,$(MAKECMDGOALS))) WRKDIR?= ${HOST_BUILD_DIR}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}-host endif +HOST_AUTOTOOL_ENV+= PATH='${HOST_PATH}' \ + PKG_CONFIG_LIBDIR='${STAGING_HOST_DIR}/usr/lib/pkgconfig:${STAGING_HOST_DIR}/usr/share/pkgconfig' \ + PKG_CONFIG_SYSROOT_DIR='${STAGING_HOST_DIR}' \ + ${COMMON_ENV} + # this is environment for 'configure' HOST_CONFIGURE_ENV?= PATH='${HOST_PATH}' \ ${COMMON_ENV} \ |