xbps-src/cross: create sysroot/include symlink.
The cross compiler seems to need it to compile C++ code (wtf).
This commit is contained in:
parent
5cf673b7b9
commit
47f46229b8
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ prepare_cross_sysroot() {
|
||||||
rm -f $errlog
|
rm -f $errlog
|
||||||
# Create top level symlinks in sysroot.
|
# Create top level symlinks in sysroot.
|
||||||
XBPS_ARCH=$XBPS_TARGET_ARCH xbps-reconfigure -r $XBPS_CROSS_BASE -f base-directories
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue