diff options
author | Alexey Sheplyakov <asheplyakov@altlinux.org> | 2021-07-21 11:51:20 +0400 |
---|---|---|
committer | Alexey Sheplyakov <asheplyakov@altlinux.org> | 2021-07-21 12:07:31 +0400 |
commit | ef795d4fa8b04ee0227377a207514221f5b33451 (patch) | |
tree | 9b9a277739ccb61fc6318ce4438e3835a6819361 /src/serve.c | |
parent | b94b751aef444e0e9e5224730891650d03d12a4d (diff) | |
download | distcc-git-ef795d4fa8b04ee0227377a207514221f5b33451.tar.gz |
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
Diffstat (limited to 'src/serve.c')
0 files changed, 0 insertions, 0 deletions