diff options
author | Antonio Cardace <acardace@redhat.com> | 2019-12-17 16:42:05 +0100 |
---|---|---|
committer | Antonio Cardace <acardace@redhat.com> | 2019-12-24 10:13:51 +0100 |
commit | df1d214b2ea7dc65cc8c20658c66a97eb222569a (patch) | |
tree | fc84e46c3650374279ddb38c478ebabc1d274fb7 /clients/cli/meson.build | |
parent | 1e45865e4ff625698d7e9c86f0666b9896dc8e6c (diff) | |
download | NetworkManager-df1d214b2ea7dc65cc8c20658c66a97eb222569a.tar.gz |
clients: polkit-agent: implement polkit agent without using libpolkit
Diffstat (limited to 'clients/cli/meson.build')
-rw-r--r-- | clients/cli/meson.build | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/clients/cli/meson.build b/clients/cli/meson.build index 1c8148920c..b1b2426910 100644 --- a/clients/cli/meson.build +++ b/clients/cli/meson.build @@ -6,18 +6,6 @@ install_data( install_dir: join_paths(nm_datadir, 'bash-completion', 'completions'), ) -sources = files( - 'agent.c', - 'common.c', - 'connections.c', - 'devices.c', - 'general.c', - 'nmcli.c', - 'polkit-agent.c', - 'settings.c', - 'utils.c', -) - deps = [ libnmc_base_dep, libnmc_dep, @@ -25,14 +13,19 @@ deps = [ libnm_libnm_aux_dep, ] -if enable_polkit_agent - sources += nm_polkit_listener - deps += polkit_agent_dep -endif - executable( name, - sources, + files( + 'agent.c', + 'common.c', + 'connections.c', + 'devices.c', + 'general.c', + 'nmcli.c', + 'polkit-agent.c', + 'settings.c', + 'utils.c', + ), dependencies: deps, c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)], link_args: ldflags_linker_script_binary, |