diff options
author | Simon McVittie <smcv@debian.org> | 2021-06-03 19:23:13 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-07-19 13:00:55 +0000 |
commit | e9aef13188593ebf06b9dc2d7de5d664c9790d6a (patch) | |
tree | d6c29cbf0b74e329a9ce0a807d3146f5c9c44ec6 /src | |
parent | 6c8022392713955c5ae0061e22b50a16a1c2252a (diff) | |
download | polkit-e9aef13188593ebf06b9dc2d7de5d664c9790d6a.tar.gz |
build: Make the directory for helper executables consistent with Autotools
The Autotools build system has been using /usr/lib/polkit-1 for several
releases, even on distributions where the library directory is /usr/lib64
or /usr/lib/x86_64-linux-gnu, so it makes sense for Meson to do the same.
This lets 32- and 64-bit polkit agents share a single helper executable.
This might be superseded by polkit!63, which requests going back to using
the libexecdir for these (like polkit 0.105 did), which would also make
sense; but until that's decided, let's at least be consistent between
our two build systems.
Every time we change this, all programs that have already loaded
libpolkit-agent into their address space need to be restarted, unless
distributions provide compatibility symlinks.
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/polkitagent/meson.build | 2 | ||||
-rw-r--r-- | src/polkitbackend/meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/polkitagent/meson.build b/src/polkitagent/meson.build index 84aa260..bee3820 100644 --- a/src/polkitagent/meson.build +++ b/src/polkitagent/meson.build @@ -115,5 +115,5 @@ executable( dependencies: deps, c_args: '-D_POLKIT_COMPILATION', install: true, - install_dir: pk_pkglibdir, + install_dir: pk_libprivdir, ) diff --git a/src/polkitbackend/meson.build b/src/polkitbackend/meson.build index 93c3c34..64f0e4a 100644 --- a/src/polkitbackend/meson.build +++ b/src/polkitbackend/meson.build @@ -68,5 +68,5 @@ executable( c_args: c_flags, link_with: libpolkit_backend, install: true, - install_dir: pk_pkglibdir, + install_dir: pk_libprivdir, ) |