diff options
author | Peter Eisenmann <4240-p3732@users.noreply.gitlab.freedesktop.org> | 2022-09-07 14:24:43 +0000 |
---|---|---|
committer | Jan Rybar <jrybar@redhat.com> | 2022-09-07 14:24:43 +0000 |
commit | a405b3e00ac24ae21ea36834cfc61cbae041bf39 (patch) | |
tree | 3679c33ed7cc9cf6d05f61e84afa22b6135871cb /src/meson.build | |
parent | 91597f08929ddf1bc3a90a7122f9e23ea96d6e11 (diff) | |
download | polkit-a405b3e00ac24ae21ea36834cfc61cbae041bf39.tar.gz |
build: add option to skip building polkitd
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 8 |
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 |