Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update-distcc-symlinks: create symlinks in $prefix
distccd looks for approved compilers in $prefix/lib/distcc. However update-distcc-symlinks always creates symlinks in /usr/lib. Thus if distcc is installed in a custom directory (`--prefix=/opt`, or `--prefix=$HOME`) distccd will refuse compilation jobs even after running `update-distcc-symlinks`. This patch adjusts `update-distcc-symlinks` so it creates symlinks in $prefix/lib/distcc. As a side effect it's possible to use `update-distcc-symlinks` without root permissions. Related: #431
- Loading branch information