libarchive: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.

This commit is contained in:
Juan RP 2013-10-24 10:06:51 +02:00
parent 95031be4c2
commit 9faf25b9e7
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ checksum=eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e
bootstrap=yes
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
fi
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libtool"
pre_configure() {