mxcl/homebrew — Issue #8265: ccache: libexec should be symlinked into stable location.
Author: docwhat
Created: 2011-10-24 16:03:40+00:00
State: open

The `libexec` directory for ccache is not symlinked to a stable location for easy use in a user's PATH.

It should be symlinked to `/usr/local/libexec/ccache`.

My current workaround is (which is annoyingly slow):

```sh
ccache_libexec=$(which ccache)
if [[ -n "${ccache_libexec}" ]]; then
ccache_libexec=$(realpath "${ccache_libexec}/../../libexec")
if [[ -d "${ccache_libexec:-}" ]]; then
pathman -f "${ccache_libexec}" # A shell function to add it to PATH
fi
fi
unset ccache_libexec
```