summaryrefslogtreecommitdiff
path: root/src/dnsmasq
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsmasq')
-rw-r--r--src/dnsmasq/tests/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dnsmasq/tests/meson.build b/src/dnsmasq/tests/meson.build
index 4c4173faa0..749e6f64fa 100644
--- a/src/dnsmasq/tests/meson.build
+++ b/src/dnsmasq/tests/meson.build
@@ -1,6 +1,10 @@
test_unit = 'test-dnsmasq-utils'
-cflags = '-DTESTDIR="@0@"'.format(meson.source_root())
+cflags = [
+ '-DTESTDIR="@0@"'.format(meson.source_root()),
+ '-DNETWORKMANAGER_COMPILATION_TEST',
+ '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_DAEMON',
+]
exe = executable(
test_unit,