chroot-glibc: create ld-linux.so.3 symlink on ARM.
This commit is contained in:
parent
a7a4e5faba
commit
8189fc08c3
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue