mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
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
|
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 base-files &>/dev/null
|
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/include ${XBPS_CROSS_BASE}/include
|
||||||
|
ln -s usr/lib ${XBPS_CROSS_BASE}/lib
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue