mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 06:00:32 +01:00
build: meson: link NM against n-acd
This commit is contained in:
parent
29a04f54a6
commit
7ac93a03b0
2 changed files with 27 additions and 1 deletions
|
|
@ -1,3 +1,28 @@
|
|||
shared_c_list_dep = declare_dependency(
|
||||
include_directories: include_directories('c-list/src')
|
||||
)
|
||||
|
||||
shared_c_siphash = static_library(
|
||||
'c-siphash',
|
||||
sources: ['c-siphash/src/c-siphash.c']
|
||||
)
|
||||
|
||||
shared_c_siphash_dep = declare_dependency(
|
||||
include_directories: include_directories('c-siphash/src'),
|
||||
link_with: shared_c_siphash
|
||||
)
|
||||
|
||||
shared_n_acd = static_library(
|
||||
'n-acd',
|
||||
sources: ['n-acd/src/n-acd.c'],
|
||||
dependencies: [ shared_c_siphash_dep, shared_c_list_dep ]
|
||||
)
|
||||
|
||||
shared_n_acd_dep = declare_dependency(
|
||||
include_directories: include_directories('.'),
|
||||
link_with: shared_n_acd,
|
||||
)
|
||||
|
||||
shared_inc = include_directories('.')
|
||||
|
||||
version_conf = configuration_data()
|
||||
|
|
|
|||
|
|
@ -174,7 +174,8 @@ deps = [
|
|||
# this dependency might be needed
|
||||
#libnmdbus_dep,
|
||||
libudev_dep,
|
||||
nm_core_dep
|
||||
nm_core_dep,
|
||||
shared_n_acd_dep
|
||||
]
|
||||
|
||||
if enable_concheck
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue