xbps-src: environment: set CFLAGS and LDFLAGS for the bootstrap case.
Fixes building bootstrap packages that need to find libs in masterdir and not from the host.
This commit is contained in:
1
common/environment/build/bootstrap.sh
Symbolic link
1
common/environment/build/bootstrap.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../configure/bootstrap.sh
|
||||
4
common/environment/configure/bootstrap.sh
Normal file
4
common/environment/configure/bootstrap.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
|
||||
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
||||
fi
|
||||
Reference in New Issue
Block a user