mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-22 08:58:09 +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.
27 lines
506 B
Meson
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()],
|
|
)
|