chroot-util-linux: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user