libcrypt: allow to build systemd without libcrypt/libxcrypt
libcrypt is only used by firstboot, homed, and sysusers, which can be disabled by meson option. Let's not require the library unconditionally.
This commit is contained in:
@@ -346,6 +346,7 @@ executables += [
|
||||
test_template + {
|
||||
'sources' : files('test-libcrypt-util.c'),
|
||||
'dependencies' : libcrypt,
|
||||
'conditions' : ['HAVE_LIBCRYPT'],
|
||||
'timeout' : 120,
|
||||
},
|
||||
test_template + {
|
||||
|
||||
Reference in New Issue
Block a user