ccache: create cross toolchain symlinks too.

This commit is contained in:
Juan RP 2014-05-24 11:09:09 +02:00
parent 60cd04a96a
commit 260cb7de3c

View file

@ -1,7 +1,7 @@
# Template file for 'ccache'
pkgname=ccache
version=3.1.9
revision=2
revision=3
bootstrap=yes
build_style=gnu-configure
makedepends="zlib-devel"
@ -16,5 +16,8 @@ post_install() {
vmkdir usr/lib/ccache/bin
for f in gcc cc c++ cpp g++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
for x in arm-linux-gnueabi arm-linux-gnueabihf arm-linux-gnueabihf7; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}
done
done
}