diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 5e57c0db39..4da8b2d76b 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -10,6 +10,7 @@ XBPS_CFLAGS="$XBPS_CFLAGS" XBPS_CXXFLAGS="$XBPS_CXXFLAGS" XBPS_CPPFLAGS="$XBPS_CPPFLAGS" XBPS_LDFLAGS="$XBPS_LDFLAGS" +XBPS_HOSTDIR=/host _EOF if [ -e $XBPS_CONFIG_FILE ]; then grep -E '^XBPS_.*' $XBPS_CONFIG_FILE >> $XBPSSRC_CF