meson: use libfido2_cflags dependency

Add the libfido2 dependency to cryptenroll and cryptsetup's
meson files. If libfido2's not installed in the default path
the build wasn't finding its headers correctly.
This commit is contained in:
Dan McGregor
2026-03-12 16:02:28 +00:00
committed by Luca Boccassi
parent fd013bd9a9
commit 9ce905e35f
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@ executables += [
'dependencies' : [
libcryptsetup,
libdl,
libfido2_cflags,
libopenssl,
libp11kit_cflags,
],
+1 -1
View File
@@ -58,7 +58,7 @@ modules += [
'sources' : cryptsetup_token_systemd_fido2_sources,
'dependencies' : [
libcryptsetup,
libfido2,
libfido2_cflags,
],
},
template + {
+1
View File
@@ -19,6 +19,7 @@ executables += [
'sources' : systemd_cryptsetup_sources,
'dependencies' : [
libcryptsetup,
libfido2_cflags,
libmount_cflags,
libopenssl,
libp11kit_cflags,