chroot-git: use masterdir's zlib-devel in bootstrap

This commit is contained in:
Đoàn Trần Công Danh 2021-08-17 21:28:05 +07:00
parent 79cc50db87
commit 7ba599f171

View file

@ -14,8 +14,6 @@ checksum=bf3c6ab5f82e072aad4768f647cfb1ef60aece39855f83f080f9c0222dd20c4f
if [ "$CHROOT_READY" ]; then
checkdepends="perl gnupg"
else
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
fi
do_configure() {
@ -47,6 +45,9 @@ do_configure() {
NO_REGEX = Yes
EOF
fi
if ! [ "$CHROOT_READY" ]; then
echo "ZLIB_PATH = ${XBPS_MASTERDIR}/usr" >>config.mak
fi
}
do_build() {