diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2019-09-11 12:15:16 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-10-01 09:49:33 +0200 |
commit | 8a5a38f74af38ec4ab25afca21642b593c2dc8e6 (patch) | |
tree | 2637c7c85ff7da0f8731f6a021d26ed73fbd1767 /clients/cli | |
parent | f5d74ce179732f8511dcd8e61074acaf56826fd1 (diff) | |
download | NetworkManager-8a5a38f74af38ec4ab25afca21642b593c2dc8e6.tar.gz |
meson: Improve nmcli build
The dependencies used in the build of `nmcli` has been reviewed and
removed the unnecessary ones. The used compiler flags has also been
moved to one line.
Diffstat (limited to 'clients/cli')
-rw-r--r-- | clients/cli/meson.build | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/clients/cli/meson.build b/clients/cli/meson.build index d8cb6e2856..562020630d 100644 --- a/clients/cli/meson.build +++ b/clients/cli/meson.build @@ -19,17 +19,11 @@ sources = files( ) deps = [ - libnm_dep, libnmc_base_dep, libnmc_dep, - libnm_nm_default_dep, readline_dep, ] -c_flags = clients_c_flags + [ - '-DG_LOG_DOMAIN="@0@"'.format(name), -] - if enable_polkit_agent sources += nm_polkit_listener @@ -40,7 +34,7 @@ executable( name, sources, dependencies: deps, - c_args: c_flags, + c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)], link_args: ldflags_linker_script_binary, link_depends: linker_script_binary, install: true, |