cross-aarch64-linux-musl: move /usr/lib64 to /usr/lib.
This commit is contained in:
parent
9d59b5164c
commit
329479d8d6
|
@ -11,7 +11,7 @@ _sysroot="/usr/${_triplet}"
|
|||
|
||||
pkgname=cross-${_triplet}
|
||||
version=0.21
|
||||
revision=5
|
||||
revision=6
|
||||
short_desc="Cross toolchain for ARM64 LE target (musl)"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.voidlinux.eu"
|
||||
|
@ -206,6 +206,12 @@ do_install() {
|
|||
# Make ld-musl.so symlinks relative.
|
||||
ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-aarch64.so.1
|
||||
|
||||
# Move files to /usr/lib (lib64).
|
||||
if [ -d ${DESTDIR}/${_sysroot}/usr/lib64 ]; then
|
||||
mv ${DESTDIR}/${_sysroot}/usr/lib64/* ${DESTDIR}/${_sysroot}/usr/lib/
|
||||
rmdir ${DESTDIR}/${_sysroot}/usr/lib64
|
||||
fi
|
||||
|
||||
# Remove unnecessary stuff
|
||||
rm -f ${DESTDIR}/usr/lib*/libiberty.a
|
||||
rm -rf ${DESTDIR}/usr/share
|
||||
|
|
Loading…
Reference in New Issue