glibc: create ld-linux.so.3 symlink on ARM.
This commit is contained in:
parent
8189fc08c3
commit
2bad41b7a6
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'glibc'
|
# Template file for 'glibc'
|
||||||
pkgname=glibc
|
pkgname=glibc
|
||||||
version=2.17
|
version=2.17
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="The GNU C library"
|
short_desc="The GNU C library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/libc"
|
homepage="http://www.gnu.org/software/libc"
|
||||||
|
@ -102,4 +102,10 @@ do_install() {
|
||||||
|
|
||||||
# Switch to /usr.
|
# Switch to /usr.
|
||||||
vmove "sbin/*" 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…
Reference in New Issue