Skip to content

Commit 6d39da7

Browse files
fbuihuuyuwata
authored andcommitted
build: include status of TPM2 in the feature string show by --version
1 parent 2afb2f4 commit 6d39da7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/basic/build.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ const char* const systemd_features =
160160
" -QRENCODE"
161161
#endif
162162

163+
#if HAVE_TPM2
164+
" +TPM2"
165+
#else
166+
" -TPM2"
167+
#endif
168+
163169
/* compressors */
164170

165171
#if HAVE_BZIP2

0 commit comments

Comments
 (0)