tree-wide: add missing libopenssl_cflags to targets using tpm2-util.h

tpm2-util.h includes crypto-util.h, which requires OpenSSL compiler
flags when HAVE_OPENSSL is defined. Add libopenssl_cflags to every
build target that uses tpm2_cflags but was missing the transitive
OpenSSL dependency.
This commit is contained in:
fuldeka
2026-07-12 23:31:29 +02:00
parent f3fe668cdf
commit 41965b3568
6 changed files with 10 additions and 1 deletions
+1
View File
@@ -56,6 +56,7 @@ executables += [
libshared,
],
'dependencies' : [
libopenssl_cflags,
libseccomp_cflags,
tpm2_cflags,
],
@@ -48,6 +48,7 @@ modules += [
'sources' : cryptsetup_token_systemd_tpm2_sources,
'dependencies' : [
libcryptsetup_cflags,
libopenssl_cflags,
tpm2_cflags,
],
},
+4 -1
View File
@@ -300,7 +300,10 @@ executables += [
},
test_template + {
'sources' : files('test-creds.c'),
'dependencies' : tpm2_cflags,
'dependencies' : [
libopenssl_cflags,
tpm2_cflags,
],
},
test_template + {
'sources' : files('test-crypto-util.c'),
+2
View File
@@ -23,6 +23,7 @@ executables += [
'HAVE_TPM2',
],
'dependencies' : [
libopenssl_cflags,
tpm2_cflags,
],
},
@@ -44,6 +45,7 @@ executables += [
'HAVE_TPM2',
],
'dependencies' : [
libopenssl_cflags,
tpm2_cflags,
],
},
+1
View File
@@ -111,6 +111,7 @@ udev_dependencies = [
libblkid_cflags,
libkmod_cflags,
libmount_cflags,
libopenssl_cflags,
libselinux_cflags,
tpm2_cflags,
]
+1
View File
@@ -10,6 +10,7 @@ executables += [
'sources' : files('veritysetup.c'),
'dependencies' : [
libcryptsetup_cflags,
libopenssl_cflags,
tpm2_cflags,
],
},