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.
libshared,
],
'dependencies' : [
+ libopenssl_cflags,
libseccomp_cflags,
tpm2_cflags,
],
'sources' : cryptsetup_token_systemd_tpm2_sources,
'dependencies' : [
libcryptsetup_cflags,
+ libopenssl_cflags,
tpm2_cflags,
],
},
},
test_template + {
'sources' : files('test-creds.c'),
- 'dependencies' : tpm2_cflags,
+ 'dependencies' : [
+ libopenssl_cflags,
+ tpm2_cflags,
+ ],
},
test_template + {
'sources' : files('test-crypto-util.c'),
'HAVE_TPM2',
],
'dependencies' : [
+ libopenssl_cflags,
tpm2_cflags,
],
},
'HAVE_TPM2',
],
'dependencies' : [
+ libopenssl_cflags,
tpm2_cflags,
],
},
libblkid_cflags,
libkmod_cflags,
libmount_cflags,
+ libopenssl_cflags,
libselinux_cflags,
tpm2_cflags,
]
'sources' : files('veritysetup.c'),
'dependencies' : [
libcryptsetup_cflags,
+ libopenssl_cflags,
tpm2_cflags,
],
},