summaryrefslogtreecommitdiff
path: root/dispatcher
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-06-02 08:34:34 +0200
committerThomas Haller <thaller@redhat.com>2019-06-02 08:34:34 +0200
commitf4222aff0720d27264cf2d473543541f7564b050 (patch)
tree414f19e6cc0775b0e85b36e30c29a679e17c9742 /dispatcher
parent403f207fe58538f0228ac42918f23d2e6a18e8b6 (diff)
downloadNetworkManager-f4222aff0720d27264cf2d473543541f7564b050.tar.gz
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
Diffstat (limited to 'dispatcher')
-rw-r--r--dispatcher/tests/meson.build5
1 files changed, 4 insertions, 1 deletions
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',