ccache: build for cygwin

This commit is contained in:
Christoph Reiter 2025-06-10 07:45:49 +02:00
parent 526878ec38
commit 9aedb75ac6
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
pkgname=ccache
pkgver=4.11.3
pkgrel=1
pkgrel=2
pkgdesc="A compiler cache (mingw-w64)"
arch=('i686' 'x86_64')
url="https://ccache.samba.org/"

View File

@ -1,6 +1,6 @@
post_install() {
mkdir -p /usr/lib/ccache/bin
for compiler in c++ cc cpp gcc g++ {i686,x86_64}-{pc-msys,w64-mingw32}-{g++,c++,gcc}; do
for compiler in c++ cc cpp gcc g++ {i686,x86_64}-{pc-cygwin,w64-mingw32}-{g++,c++,gcc}; do
MSYS='winsymlinks:lnk' ln -sf /usr/bin/ccache /usr/lib/ccache/bin/${compiler}
done
}