chroot-util-linux: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.
This commit is contained in:
parent
d7ec84a693
commit
1a68dcc05d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue