glibc: create ld-linux (sf) symlink on any arm machine.

This commit is contained in:
Juan RP 2014-01-18 12:26:11 +01:00
parent 2975267e1b
commit 799a2fd6ad
1 changed files with 3 additions and 4 deletions

View File

@ -105,10 +105,9 @@ do_install() {
rm -f ${DESTDIR}/etc/ld.so.cache
# Create ld-linux.so.3 symlink for ARM.
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
ln -sfr ${DESTDIR}/usr/lib/ld-linux-armhf.so.3 \
${DESTDIR}/usr/lib/ld-linux.so.3
fi
case "$XBPS_TARGET_MACHINE" in
armv?l) ln -sfr ${DESTDIR}/usr/lib/ld-linux-armhf.so.3 ${DESTDIR}/usr/lib/ld-linux.so.3;;
esac
}
glibc-devel_package() {