summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisenmann <4240-p3732@users.noreply.gitlab.freedesktop.org>2022-09-07 14:24:43 +0000
committerJan Rybar <jrybar@redhat.com>2022-09-07 14:24:43 +0000
commita405b3e00ac24ae21ea36834cfc61cbae041bf39 (patch)
tree3679c33ed7cc9cf6d05f61e84afa22b6135871cb /src
parent91597f08929ddf1bc3a90a7122f9e23ea96d6e11 (diff)
downloadpolkit-a405b3e00ac24ae21ea36834cfc61cbae041bf39.tar.gz
build: add option to skip building polkitd
Diffstat (limited to 'src')
-rw-r--r--src/meson.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/meson.build b/src/meson.build
index 4073333..985d0b0 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -4,9 +4,11 @@ symbol_map = meson.current_source_dir() / 'symbol.map'
ldflags = cc.get_supported_link_arguments('-Wl,--version-script,@0@'.format(symbol_map))
subdir('polkit')
-subdir('polkitbackend')
-subdir('polkitagent')
-subdir('programs')
+if not get_option('libs-only')
+ subdir('polkitbackend')
+ subdir('polkitagent')
+ subdir('programs')
+endif
enable_examples = get_option('examples')
if enable_examples