NetworkManager/dispatcher/tests/meson.build
Thomas Haller 309dccf5f9
build/meson: cleanup libnm-glib-aux dependencies
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.
2021-02-28 10:42:04 +01:00

27 lines
506 B
Meson

# SPDX-License-Identifier: LGPL-2.1-or-later
exe = executable(
'test-dispatcher-envp',
[
'test-dispatcher-envp.c',
nmdbus_dispatcher_sources,
],
dependencies: [
libnm_nm_default_dep,
glib_dep,
],
include_directories: dispatcher_inc,
c_args: introspection_extra_cflags,
link_with: [
libnm_dispatcher_core,
libnm_glib_aux,
libnm_std_aux,
libc_siphash,
],
)
test(
'dispatcher/test-dispatcher-envp',
test_script,
args: test_args + [exe.full_path()],
)