chroot-util-linux: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.

This commit is contained in:
Juan RP 2013-10-24 10:05:50 +02:00
parent d7ec84a693
commit 1a68dcc05d
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ long_desc="
bootstrap=yes
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
fi
post_install() {
# Remove unused stuff.
rm -rf ${DESTDIR}/bin