package/tpm2-tss: add upstream patch to drop hardcoded -lgcrypt from tss2-esys.pc
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 8 Apr 2019 11:56:46 +0000 (13:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 8 Apr 2019 20:42:55 +0000 (22:42 +0200)
commit55c4f7ca4b3616cbc48f464d9f803eb10f7a908d
treedf7152e511c58e2f28daa11cf81b96b981467739
parent94fb4aa357406e7278a080485fc1b7a14c5288eb
package/tpm2-tss: add upstream patch to drop hardcoded -lgcrypt from tss2-esys.pc

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@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/tpm2-tss/0002-configure.ac-switch-default-ESAPI-crypto-backend-to-.patch [new file with mode: 0644]