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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-04-23 21:47:27 -04:00
parent 421f001277
commit f0bd7cc701
3 changed files with 51 additions and 49 deletions
+1 -1
View File
@@ -424,7 +424,7 @@ tests += [
[libshared,
libsystemd_internal],
[libkmod],
'', 'manual'],
'HAVE_KMOD', 'manual'],
[['src/test/test-ellipsize.c'],
[libshared],