Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | From 7848445a1f4c750ef73bf96f5e89d402f87a1756 Mon Sep 17 00:00:00 2001 |
| 2 | From: Lans Zhang <jia.zhang@windriver.com> |
| 3 | Date: Mon, 19 Jun 2017 14:54:28 +0800 |
| 4 | Subject: [PATCH] Fix not building libtpm.la |
| 5 | |
| 6 | Signed-off-by: Lans Zhang <jia.zhang@windriver.com> |
| 7 | --- |
| 8 | Makefile.am | 4 +++- |
| 9 | 1 file changed, 3 insertions(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/Makefile.am b/Makefile.am |
| 12 | index 6695656..634a7e6 100644 |
| 13 | --- a/Makefile.am |
| 14 | +++ b/Makefile.am |
| 15 | @@ -10,4 +10,6 @@ libtpm_la_LIBADD=-lcrypto -lc -ltspi |
| 16 | libtpm_la_SOURCES=e_tpm.c e_tpm.h e_tpm_err.c |
| 17 | |
| 18 | create_tpm_key_SOURCES=create_tpm_key.c |
| 19 | -create_tpm_key_LDADD=-ltspi |
| 20 | +create_tpm_key_LDFLAGS=-ltspi |
| 21 | + |
| 22 | +LDADD=libtpm.la |
| 23 | -- |
| 24 | 2.7.5 |
| 25 | |