diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-12 12:14:30 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-23 21:47:27 -0400 |
commit | f0bd7cc7012190e91183e9ee7649dd423e25629d (patch) | |
tree | 48fce4ba7180f1039af572665752902573c9a12d /src/test | |
parent | 421f0012777f02b6d6568ac43cc226dee2c404de (diff) |
meson: fix compilation with -Dnetworkd=false, -Dkmod=no, -Dlibgcrypt=no
The tests are included under the conditional too, instead of specifying
'ENABLE_NETWORKD' in the test definition array, because libnetworkd_core
dependency is undefined if networkd is disabled.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/meson.build b/src/test/meson.build index 6c950c3f0c..26b399dfc5 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -424,7 +424,7 @@ tests += [ [libshared, libsystemd_internal], [libkmod], - '', 'manual'], + 'HAVE_KMOD', 'manual'], [['src/test/test-ellipsize.c'], [libshared], |