binutils: create triplet symlinks (close #2846).

This commit is contained in:
Juan RP 2015-10-30 07:15:48 +01:00
parent 972a2ab09f
commit 151381dfe5

View File

@ -1,7 +1,7 @@
# Template file for 'binutils'
pkgname=binutils
version=2.25.1
revision=1
revision=2
bootstrap=yes
short_desc="GNU binary utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -91,6 +91,10 @@ do_install() {
for f in dlltool nlmconv windres windmc; do
rm -f ${DESTDIR}/usr/share/man/man1/${f}.1
done
# Create triplet symlinks
for f in ${DESTDIR}/usr/bin/*; do
ln -s ${f##*/} ${DESTDIR}/usr/bin/${XBPS_CROSS_TRIPLET:-${XBPS_TRIPLET}}-${f##*/}
done
}
binutils-devel_package() {