mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-22 00:48:10 +02:00
Avoid dependencies but explicitly link the static library where it is used. This also fixes that we linked libnm-log-core into libnm-settings-plugin-ifcfg-rh.so, which duplicated the symbols while it should used them from NetworkManager.
48 lines
867 B
Meson
48 lines
867 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
exe = executable(
|
|
'test-clients-common',
|
|
'test-clients-common.c',
|
|
dependencies: [
|
|
libnmc_base_dep,
|
|
libnmc_dep,
|
|
libnm_core_aux_intern_dep_link,
|
|
libnm_core_aux_extern_dep_link,
|
|
libnm_base_dep_link,
|
|
glib_dep,
|
|
],
|
|
link_with: [
|
|
libnm_glib_aux,
|
|
libnm_std_aux,
|
|
libc_siphash,
|
|
],
|
|
)
|
|
|
|
test(
|
|
'clients/common/tests/test-clients-common',
|
|
test_script,
|
|
args: test_args + [exe.full_path()],
|
|
)
|
|
|
|
exe = executable(
|
|
'test-libnm-core-aux',
|
|
'test-libnm-core-aux.c',
|
|
dependencies: [
|
|
libnm_dep,
|
|
libnm_core_aux_extern_dep_link,
|
|
libnm_nm_default_dep,
|
|
glib_dep,
|
|
],
|
|
link_with: [
|
|
libnm_log_null,
|
|
libnm_glib_aux,
|
|
libnm_std_aux,
|
|
libc_siphash,
|
|
],
|
|
)
|
|
|
|
test(
|
|
'clients/common/tests/test-libnm-core-aux',
|
|
test_script,
|
|
args: test_args + [exe.full_path()]
|
|
)
|