diff --git a/dispatcher/tests/meson.build b/dispatcher/tests/meson.build index 10d1c6a93f..9d6a16de1f 100644 --- a/dispatcher/tests/meson.build +++ b/dispatcher/tests/meson.build @@ -9,7 +9,10 @@ exe = executable( test_unit, [ test_unit + '.c' ] + [ nmdbus_dispatcher_sources ], include_directories: incs, - dependencies: libnm_core_dep, + dependencies: [ + libnm_core_dep, + libnm_dep, + ], c_args: [ '-DNETWORKMANAGER_COMPILATION_TEST', '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',