build/meson: depend test-dispatcher-envp on libnm

Otherwise we can get a build failiure:

  ../libnm/NetworkManager.h:61:27: fatal error: nm-enum-types.h: No such file or directory
This commit is contained in:
Thomas Haller 2019-06-02 08:34:34 +02:00
parent 403f207fe5
commit f4222aff07

View file

@ -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',