xbps-src/shutils/cross.sh: ensure lib -> usr/lib in sysroot.
This commit is contained in:
parent
574a14ef7d
commit
ffdc05018a
1 changed files with 2 additions and 1 deletions
|
@ -49,8 +49,9 @@ 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 base-files &>/dev/null
|
||||
# Create a sysroot/include symlink just in case.
|
||||
# Create a sysroot/include and sysroot/lib symlink just in case.
|
||||
ln -s usr/include ${XBPS_CROSS_BASE}/include
|
||||
ln -s usr/lib ${XBPS_CROSS_BASE}/lib
|
||||
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue