summaryrefslogtreecommitdiff
path: root/src/dnsmasq
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsmasq')
-rw-r--r--src/dnsmasq/tests/meson.build10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/dnsmasq/tests/meson.build b/src/dnsmasq/tests/meson.build
index 749e6f64fa..56d917486a 100644
--- a/src/dnsmasq/tests/meson.build
+++ b/src/dnsmasq/tests/meson.build
@@ -1,16 +1,10 @@
test_unit = 'test-dnsmasq-utils'
-cflags = [
- '-DTESTDIR="@0@"'.format(meson.source_root()),
- '-DNETWORKMANAGER_COMPILATION_TEST',
- '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_DAEMON',
-]
-
exe = executable(
test_unit,
test_unit + '.c',
- dependencies: test_core_dep,
- c_args: cflags
+ dependencies: test_nm_dep,
+ c_args: '-DTESTDIR="@0@"'.format(meson.source_root())
)
test(test_unit, exe)