cryptsetup-fido2: Depend on libcryptsetup
authorWolfgang Müller <wolf@oriole.systems>
Mon, 24 Apr 2023 18:00:56 +0000 (20:00 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 25 Apr 2023 01:00:16 +0000 (02:00 +0100)
commit38fc5e0314c84b0259197f155e6cc8782e4773c7
tree05eef2d5aa7b05312c95872fef6c8da01648db48
parent0593b34adcb79056767a5cfd70028a8222ee3cb7
cryptsetup-fido2: Depend on libcryptsetup

crypsetup-fido2 always depended on both libfido2 and libcryptsetup, but
0a8e026e825dda142a8f1552a4b45815cbfd0b48 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.
src/shared/meson.build