diff options
author | Alexey Sheplyakov <asheplyakov@altlinux.org> | 2021-07-21 11:47:13 +0400 |
---|---|---|
committer | Alexey Sheplyakov <asheplyakov@altlinux.org> | 2021-07-26 14:01:40 +0400 |
commit | 65330822728859128f6345629042f1cbe399bd4d (patch) | |
tree | f09b0d4c2173d48dcb0a57622b857da5214cd31a | |
parent | 1b9850947bc6ba9566a5388817d3cf432e3a827e (diff) | |
download | distcc-git-65330822728859128f6345629042f1cbe399bd4d.tar.gz |
A better definition of masquerade directory for RPM-based distros
As of now distcc uses $libdir/distcc as a "masquerade" directory.
However in RPM-based distros libdir is /usr/lib64 on 64-bit hosts.
This patch changes symlinks directory to $prefix/lib so it's
always /usr/lib (both for 64-bit and 32-bit hosts).
As a result masquerading can be configured according to the manual,
and exactly in the same way for 64-bit and 32-bit hosts, i.e.
PATH=/usr/lib/distcc:$PATH make -j32
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index db895d0..f240ca6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,7 +59,7 @@ include_server_builddir = $(builddir)/_include_server # These must be done from here, not from autoconf, because they can # contain variable expansions written in Make syntax. Ew. -DIR_DEFS = -DLIBDIR="\"${libdir}\"" -DSYSCONFDIR="\"${sysconfdir}\"" -DICONDIR="\"${icondir}\"" +DIR_DEFS = -DLIBDIR="\"${prefix}/lib\"" -DSYSCONFDIR="\"${sysconfdir}\"" -DICONDIR="\"${icondir}\"" # arguments to pkgconfig GNOME_PACKAGES = @GNOME_PACKAGES@ |