mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 15:50:26 +01:00
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.
This commit is contained in:
parent
f5d74ce179
commit
8a5a38f74a
1 changed files with 1 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue