OLD | NEW |
1 diff --git a/tpm-tools-1.3.1/src/data_mgmt/Makefile.am b/tpm-tools-1.3.1-orig/sr
c/data_mgmt/Makefile.am | 1 --- a/lib/Makefile.am |
2 index 697f031..cff5897 100644 | 2 +++ b/lib/Makefile.am |
| 3 @@ -80,4 +80,4 @@ endif |
| 4 # Unseal library - for addition to existing apps, counter part of seal cmd |
| 5 libtpm_unseal_la_SOURCES =» tpm_unseal.c |
| 6 libtpm_unseal_la_LDFLAGS =» -shared -version-info 1:0:0 |
| 7 -libtpm_unseal_la_LIBADD =» -ltspi libtpm_tspi.la |
| 8 +libtpm_unseal_la_LIBADD =» -ltspi libtpm_tspi.la -lcrypto |
| 9 --- a/src/cmds/Makefile.am |
| 10 +++ b/src/cmds/Makefile.am |
| 11 @@ -33,4 +33,5 @@ endif |
| 12 LDADD» » =» $(top_builddir)/lib/libtpm_tspi.la -ltspi $(top_builddir
)/lib/libtpm_unseal.la -ltpm_unseal |
| 13 |
| 14 tpm_sealdata_SOURCES = tpm_sealdata.c |
| 15 +tpm_sealdata_LDADD = $(LDADD) -lcrypto |
| 16 tpm_unsealdata_SOURCES = tpm_unsealdata.c |
3 --- tpm-tools-1.3.1/src/data_mgmt/Makefile.am | 17 --- tpm-tools-1.3.1/src/data_mgmt/Makefile.am |
4 +++ tpm-tools-1.3.1/src/data_mgmt/Makefile.am | 18 +++ tpm-tools-1.3.1/src/data_mgmt/Makefile.am |
5 @@ -31,7 +31,7 @@ bin_PROGRAMS = tpmtoken_init \ | 19 @@ -31,7 +31,7 @@ bin_PROGRAMS = tpmtoken_init \ |
6 # Common build flags | 20 # Common build flags |
7 AM_CPPFLAGS = -I$(top_builddir)/include -D_LINUX | 21 AM_CPPFLAGS = -I$(top_builddir)/include -D_LINUX |
8 | 22 |
9 -LDADD = $(top_builddir)/lib/libtpm_pkcs11.la -ltspi | 23 -LDADD = $(top_builddir)/lib/libtpm_pkcs11.la -ltspi |
10 +LDADD = $(top_builddir)/lib/libtpm_pkcs11.la -ltspi -ldl | 24 +LDADD = $(top_builddir)/lib/libtpm_pkcs11.la -ltspi -ldl |
11 | 25 |
12 | 26 |
13 # | 27 # |
OLD | NEW |