From f4222aff0720d27264cf2d473543541f7564b050 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sun, 2 Jun 2019 08:34:34 +0200 Subject: [PATCH] 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 --- dispatcher/tests/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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',