chroot-glibc: create ld-linux.so.3 symlink on ARM.

This commit is contained in:
Juan RP 2013-02-19 14:03:11 +01:00
parent a7a4e5faba
commit 8189fc08c3

View file

@ -3,7 +3,7 @@ pkgname=chroot-glibc
_majorver=2.17
version=${_majorver}
wrksrc="glibc-${version}"
revision=3
revision=4
short_desc="The GNU C library -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libc"
@ -97,4 +97,10 @@ do_install() {
# Switch to /usr.
vmkdir usr/sbin
vmove "sbin/*" usr/sbin
# Create ld-linux.so.3 symlink for ARM.
if [ "$XBPS_MACHINE" = "armv6l" ]; then
ln -sfr ${DESTDIR}/usr/lib/ld-linux-armhf.so.3 \
${DESTDIR}/usr/lib/ld-linux.so.3
fi
}