meson: move declarations of cryptsetup and friends

This commit is contained in:
Yu Watanabe
2023-08-01 05:52:50 +09:00
parent 7e6ca26fe5
commit 81fe141ba3
5 changed files with 71 additions and 80 deletions
+18
View File
@@ -14,3 +14,21 @@ endif
if conf.get('HAVE_TPM2') == 1
systemd_cryptsetup_sources += files('cryptsetup-tpm2.c')
endif
executables += [
libexec_template + {
'name' : 'systemd-cryptsetup',
'conditions' : ['HAVE_LIBCRYPTSETUP'],
'sources' : systemd_cryptsetup_sources,
'dependencies' : [
libcryptsetup,
libopenssl,
libp11kit,
],
},
generator_template + {
'name' : 'systemd-cryptsetup-generator',
'conditions' : ['HAVE_LIBCRYPTSETUP'],
'sources' : files('cryptsetup-generator.c'),
},
]