#169 [build] missing dependency

Bug
open
nobody
None
5
2013-07-20
2013-07-20
Alon Bar-Lev
No

diff --git a/lib/Makefile.am b/lib/Makefile.am
index cef6a2f..d7092a7 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -80,4 +80,4 @@ endif
# Unseal library - for addition to existing apps, counter part of seal cmd
libtpm_unseal_la_SOURCES = tpm_unseal.c
libtpm_unseal_la_LDFLAGS = -shared -version-info 1:0:0
-libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la
+libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la -lcrypto

Discussion

  • Alon Bar-Lev
    Alon Bar-Lev
    2013-07-20

    I also think the order should be internal libraries first then external...

    libtpm_unseal_la_LIBADD = libtpm_tspi.la -ltspi -lcrypto