xbps-src/cross: create sysroot/include symlink.

The cross compiler seems to need it to compile C++ code (wtf).
This commit is contained in:
Juan RP 2015-05-01 12:34:17 +02:00
parent 5cf673b7b9
commit 47f46229b8

View file

@ -49,6 +49,8 @@ prepare_cross_sysroot() {
rm -f $errlog
# Create top level symlinks in sysroot.
XBPS_ARCH=$XBPS_TARGET_ARCH xbps-reconfigure -r $XBPS_CROSS_BASE -f base-directories
# Create a sysroot/include symlink just in case.
ln -s usr/include ${XBPS_CROSS_BASE}/include
return 0
}