mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 10:10:18 +01:00
meson: Ease the use of the libnm-libnm-core-intern library
The dependency for the `libnm-libnm-core-intern` library has been recovered to ease its use.
This commit is contained in:
parent
60b2c8683f
commit
25bb43f4db
2 changed files with 9 additions and 7 deletions
|
|
@ -92,6 +92,13 @@ libnm_libnm_core_intern = static_library(
|
|||
c_args: common_c_flags,
|
||||
)
|
||||
|
||||
libnm_libnm_core_intern_dep = declare_dependency(
|
||||
sources: [libnm_core_enum_sources[1], nm_version_macro_header],
|
||||
include_directories: [libnm_core_inc, shared_inc],
|
||||
dependencies: libnm_utils_base_dep,
|
||||
link_with: libnm_libnm_core_intern,
|
||||
)
|
||||
|
||||
deps = [
|
||||
crypto_dep,
|
||||
libnm_utils_base_dep,
|
||||
|
|
|
|||
|
|
@ -134,23 +134,18 @@ libnm_sources = files(
|
|||
|
||||
deps = [
|
||||
libnmdbus_dep,
|
||||
libnm_libnm_core_intern_dep,
|
||||
libnm_nm_default_dep,
|
||||
libnm_udev_aux_dep,
|
||||
libudev_dep,
|
||||
]
|
||||
|
||||
links = [
|
||||
libnm_libnm_core_intern,
|
||||
libnm_systemd_logging_stub,
|
||||
]
|
||||
|
||||
liblibnm = static_library(
|
||||
'libnm',
|
||||
sources: libnm_sources + libnm_enum_sources,
|
||||
include_directories: libnm_core_inc,
|
||||
dependencies: deps,
|
||||
c_args: c_flags,
|
||||
link_with: links,
|
||||
link_with: libnm_systemd_logging_stub,
|
||||
)
|
||||
|
||||
links = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue