[Buildroot] [PATCH 1/2] package/tpm2-tss: add upstream patch to drop hardcoded -lgcrypt from tss2-esys.pc

Peter Korsgaard peter at korsgaard.com
Sun Apr 14 21:21:09 UTC 2019

>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

 > tss2-esys.pc contains a hardcoded -lgcrypt even though the openssl crypto
 > backend (as in Buildroot) may be used, leading to linker errors when using
 > esys.

 > Given that tpm2-tss doesn't allow static linking, there is no need to
 > explicitly list the crypto library dependency.

 > Cherry pick an upstream patch to fix this.  Notice that the upstream patch
 > also changes the default crypto backend to openssl.  As this isn't stricly
 > needed (we explicitly configure for openssl) and requires autoreconv, drop
 > the configure.ac hunk from the patch.

 > https://github.com/tpm2-software/tpm2-tss/pull/1173

 > Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

Committed to 2019.02.x, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list