summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rybar <jrybar@redhat.com>2020-11-16 14:57:29 +0100
committerJan Rybar <jrybar@redhat.com>2020-11-16 15:35:48 +0100
commite01aa47860d804c382fe9abb87251fee58f90dfb (patch)
treeba658894cbde11edb3c6c38aa063555e278be62d
parentba36364037f0394d62eef763f66c1fb1d89727f4 (diff)
downloadpolkit-e01aa47860d804c382fe9abb87251fee58f90dfb.tar.gz
meson-installed polkit fails to run with default usr/lib prefix
With default /usr/lib prefix set by meson, polkit service would fail with sigsegv. Changing prefix to /usr fixed the issue. Also /usr/lib conforms FHS more than /usr/local/lib in terms of a system service.
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c7b07ba..6997e7f 100644
--- a/meson.build
+++ b/meson.build
@@ -4,6 +4,7 @@ project(
license: 'LGPL2+',
default_options: [
'buildtype=debugoptimized',
+ 'prefix=/usr',
'cpp_std=c++17',
],
meson_version: '>= 0.50.0',