]> git.proxmox.com Git - swtpm.git/commit - configure.ac
build-sys: Explicitly link libswtpm_libtpms with -lcrypto (Gentoo)
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 21 Jul 2020 22:39:07 +0000 (18:39 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 22 Jul 2020 00:52:34 +0000 (20:52 -0400)
commit0371b63bec054fcb88cc1b0a3ad964021cc834c3
tree5270961cc420053a464856a61c6ad30bb5f4a665
parentb381e1eb2953babd48243194389abb7b3445bbc1
build-sys: Explicitly link libswtpm_libtpms with -lcrypto (Gentoo)

This patch fixes the following linker issue reported for Gentoo in
issue #280.

ld.lld: error: /var/tmp/portage/app-crypt/swtpm-0.3.1-r1/work/swtpm-0.3.1/src/swtpm/.libs/libswtpm_libtpms.so: undefined reference to EVP_sha512
ld.lld: error: /var/tmp/portage/app-crypt/swtpm-0.3.1-r1/work/swtpm-0.3.1/src/swtpm/.libs/libswtpm_libtpms.so: undefined reference to PKCS5_PBKDF2_HMAC
ld.lld: error: /var/tmp/portage/app-crypt/swtpm-0.3.1-r1/work/swtpm-0.3.1/src/swtpm/.libs/libswtpm_libtpms.so: undefined reference to SHA512

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
configure.ac
src/swtpm/Makefile.am