From 5911e664b047c237aaf6417bc6887ce2819eb41d Mon Sep 17 00:00:00 2001 From: Juergen Repp Date: Mon, 21 Oct 2024 14:19:46 +0200 Subject: [PATCH] Makefile.am Add libtss2_tcti_swtpm to src_tss2_esys_libtss2_esys_la_LIBADD When the configure optipn --enable-nodl was used the linker failed. Signed-off-by: Juergen Repp --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 8af86fd3e..1ea007a35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -609,7 +609,7 @@ src_tss2_esys_libtss2_esys_la_SOURCES = $(TSS2_ESYS_SRC) $(TSS2_ESYS_SRC_CRYPTO) src/tss2-tcti/tctildr.c src/tss2-tcti/tctildr.h \ src/tss2-tcti/tctildr-interface.h if NO_DL -src_tss2_esys_libtss2_esys_la_LIBADD += $(libtss2_tcti_device) $(libtss2_tcti_mssim) $(libtss2_tcti_cmd) +src_tss2_esys_libtss2_esys_la_LIBADD += $(libtss2_tcti_device) $(libtss2_tcti_mssim) $(libtss2_tcti_cmd) $(libtss2_tcti_swtpm) src_tss2_esys_libtss2_esys_la_SOURCES += src/tss2-tcti/tctildr-nodl.c src/tss2-tcti/tctildr-nodl.h else src_tss2_esys_libtss2_esys_la_LIBADD += $(LIBADD_DL)