]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: use libfido2_cflags dependency
authorDan McGregor <danmcgr@protonmail.com>
Thu, 12 Mar 2026 00:26:05 +0000 (18:26 -0600)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 12 Mar 2026 16:02:28 +0000 (16:02 +0000)
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.

src/cryptenroll/meson.build
src/cryptsetup/cryptsetup-tokens/meson.build
src/cryptsetup/meson.build

index 488ceea14d1effb2df82acc3a08fded7b19af319..11265c8b41cc029ccb1342e2094ec7964da1aa76 100644 (file)
@@ -23,6 +23,7 @@ executables += [
                 'dependencies' : [
                         libcryptsetup,
                         libdl,
+                        libfido2_cflags,
                         libopenssl,
                         libp11kit_cflags,
                 ],
index 804e18bc67a2e015e26882d089065c7cb30115a0..0fd6309201bb7369e21c34fa99451ec9da16a631 100644 (file)
@@ -58,7 +58,7 @@ modules += [
                 'sources' : cryptsetup_token_systemd_fido2_sources,
                 'dependencies' : [
                         libcryptsetup,
-                        libfido2,
+                        libfido2_cflags,
                 ],
         },
         template + {
index d9778259c2fce4fd81537fa380ab64231952b50a..b36354fb0ad0d65c3dc6143c4c12260770360813 100644 (file)
@@ -19,6 +19,7 @@ executables += [
                 'sources' : systemd_cryptsetup_sources,
                 'dependencies' : [
                         libcryptsetup,
+                        libfido2_cflags,
                         libmount_cflags,
                         libopenssl,
                         libp11kit_cflags,