mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
cryptsetup-fido2: Depend on libcryptsetup
crypsetup-fido2 always depended on both libfido2 and libcryptsetup, but
0a8e026e82
forgot to make the then
implicit dependency on libcryptsetup explicit when moving it from
cryptsetup/ to shared/. This breaks builds when libfido2 is autodetected
but the system is missing libcryptsetup.
Introduce an explicit check for HAVE_LIBCRYPTSETUP such that
cryptsetup-fido2 is only built when both libraries are available.
Fixes #27374.
This commit is contained in:
parent
0593b34adc
commit
38fc5e0314
|
@ -226,7 +226,7 @@ if conf.get('ENABLE_NSCD') == 1
|
|||
shared_sources += files('nscd-flush.c')
|
||||
endif
|
||||
|
||||
if conf.get('HAVE_LIBFIDO2') == 1
|
||||
if conf.get('HAVE_LIBFIDO2') == 1 and conf.get('HAVE_LIBCRYPTSETUP') == 1
|
||||
shared_sources += files('cryptsetup-fido2.c')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue