NetworkManager/src/libnmc-setting/tests/meson.build
Thomas Haller 09fb7877a9
build: fix linking libnm-log-null into different test programs
We require these, otherwise we can get a linker error about
_nm_utils_monotonic_timestamp_initialized symbol being undefined.
2021-07-05 14:51:27 +02:00

27 lines
487 B
Meson

# SPDX-License-Identifier: LGPL-2.1-or-later
exe = executable(
'test-libnmc-setting',
'test-libnmc-setting.c',
dependencies: [
libnm_dep,
glib_dep,
],
link_with: [
libnmc_setting,
libnmc_base,
libnm_core_aux_extern,
libnm_core_aux_intern,
libnm_base,
libnm_log_null,
libnm_glib_aux,
libnm_std_aux,
libc_siphash,
],
)
test(
'src/libnmc-setting/tests/test-libnmc-setting',
test_script,
args: test_args + [exe.full_path()],
)