mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
cross-aarch64-linux-musl: clean up libdir handling
This commit is contained in:
parent
fd08f5044a
commit
2e2fc311be
1 changed files with 3 additions and 3 deletions
|
@ -238,6 +238,8 @@ do_build() {
|
|||
ln -sfr ${_sysroot}/usr/${f} ${_sysroot}/${f}
|
||||
fi
|
||||
done
|
||||
ln -sf lib ${_sysroot}/usr/lib64
|
||||
ln -sf usr/lib ${_sysroot}/lib64
|
||||
|
||||
_binutils_build
|
||||
_gcc_bootstrap
|
||||
|
@ -248,7 +250,7 @@ do_build() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
for f in include libexec bin sbin; do
|
||||
for f in include lib libexec bin sbin; do
|
||||
if [ ! -d ${DESTDIR}/${_sysroot}/usr/${f} ]; then
|
||||
mkdir -p ${DESTDIR}/${_sysroot}/usr/${f}
|
||||
fi
|
||||
|
@ -257,10 +259,8 @@ do_install() {
|
|||
${DESTDIR}/${_sysroot}/${f}
|
||||
fi
|
||||
done
|
||||
mkdir -p ${DESTDIR}/${_sysroot}/usr/lib
|
||||
ln -sf lib ${DESTDIR}/${_sysroot}/usr/lib64
|
||||
ln -sf usr/lib ${DESTDIR}/${_sysroot}/lib64
|
||||
ln -sf usr/lib ${DESTDIR}/${_sysroot}/lib
|
||||
|
||||
# install linux API headers
|
||||
cd ${wrksrc}/linux-${_linux_version}
|
||||
|
|
Loading…
Add table
Reference in a new issue