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:
@@ -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,
|
||||
],
|
||||
},
|
||||
|
||||
@@ -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'),
|
||||
|
||||
@@ -23,6 +23,7 @@ executables += [
|
||||
'HAVE_TPM2',
|
||||
],
|
||||
'dependencies' : [
|
||||
libopenssl_cflags,
|
||||
tpm2_cflags,
|
||||
],
|
||||
},
|
||||
@@ -44,6 +45,7 @@ executables += [
|
||||
'HAVE_TPM2',
|
||||
],
|
||||
'dependencies' : [
|
||||
libopenssl_cflags,
|
||||
tpm2_cflags,
|
||||
],
|
||||
},
|
||||
|
||||
@@ -111,6 +111,7 @@ udev_dependencies = [
|
||||
libblkid_cflags,
|
||||
libkmod_cflags,
|
||||
libmount_cflags,
|
||||
libopenssl_cflags,
|
||||
libselinux_cflags,
|
||||
tpm2_cflags,
|
||||
]
|
||||
|
||||
@@ -10,6 +10,7 @@ executables += [
|
||||
'sources' : files('veritysetup.c'),
|
||||
'dependencies' : [
|
||||
libcryptsetup_cflags,
|
||||
libopenssl_cflags,
|
||||
tpm2_cflags,
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user