openconnect fails to build against tpm2-tss >= 2.3.0
Hi,
Since tpm2-tss release 2.3.0 openconnect fails to build with:
/usr/bin/ld: .libs/libopenconnect_la-gnutls_tpm2_esys.o: in function
install_tpm2_key': /home/iurt/rpmbuild/BUILD/openconnect-8.05/gnutls_tpm2_esys.c:542: undefined reference to
Tss2_MU_TPM2B_PRIVATE_Unmarshal' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/openconnect-8.05/gnutls_tpm2_esys.c:551: undefined reference to `Tss2_MU_TPM2B_PUBLIC_Unmarshal' collect2: error: ld returned 1 exit status
This is surely related since this commit https://github.com/tpm2-software/tpm2-tss/commit/ee0c0b81c1eab01bbaac472f1fc8be4a1b53d41a#diff-5858dec8a11b237423d619cb8c0fd63c
Now openconnect configure file does not search for "-ltss2-mu".
Regards, David