xbps: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.
This commit is contained in:
parent
9faf25b9e7
commit
83ff3fe23a
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@ license="Simplified BSD"
|
|||
|
||||
bootstrap=yes
|
||||
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
CFLAGS+=" -idirafter ${XBPS_MASTERDIR}/usr/include"
|
||||
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
|
||||
else
|
||||
hostmakedepends="which pkg-config"
|
||||
makedepends+=" atf-devel"
|
||||
configure_args+=" --enable-tests"
|
||||
|
|
Loading…
Reference in a new issue