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.
22 lines
615 B
Meson
22 lines
615 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
if conf.get('HAVE_LIBCRYPTSETUP') != 1
|
|
subdir_done()
|
|
endif
|
|
|
|
executables += [
|
|
libexec_template + {
|
|
'name' : 'systemd-veritysetup',
|
|
'sources' : files('veritysetup.c'),
|
|
'dependencies' : [
|
|
libcryptsetup_cflags,
|
|
libopenssl_cflags,
|
|
tpm2_cflags,
|
|
],
|
|
},
|
|
generator_template + {
|
|
'name' : 'systemd-veritysetup-generator',
|
|
'sources' : files('veritysetup-generator.c'),
|
|
},
|
|
]
|