about summary refs log tree commit diff
path: root/dispatcher/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'dispatcher/tests/meson.build')
-rw-r--r--dispatcher/tests/meson.build20
1 files changed, 8 insertions, 12 deletions
diff --git a/dispatcher/tests/meson.build b/dispatcher/tests/meson.build
index 5c6f6b12..53108e79 100644
--- a/dispatcher/tests/meson.build
+++ b/dispatcher/tests/meson.build
@@ -2,22 +2,18 @@
 
 test_unit = 'test-dispatcher-envp'
 
-deps = [
-  libnm_nm_default_dep,
-  libnm_utils_base_dep,
-]
-
-c_flags = [
-  '-DNETWORKMANAGER_COMPILATION_TEST',
-  '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
-]
-
 exe = executable(
   test_unit,
   [test_unit + '.c', nmdbus_dispatcher_sources],
   include_directories: dispatcher_inc,
-  dependencies: deps,
-  c_args: c_flags,
+  dependencies: [
+    libnm_nm_default_dep,
+    libnm_utils_base_dep,
+  ],
+  c_args: [
+    '-DNETWORKMANAGER_COMPILATION_TEST',
+    '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
+  ] + introspection_extra_cflags,
   link_with: libnm_dispatcher_core,
 )