Calculate checksums for libsimaka and libtls.
authorTobias Brunner <tobias@strongswan.org>
Tue, 8 Nov 2011 17:15:55 +0000 (18:15 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 8 Nov 2011 17:35:11 +0000 (18:35 +0100)
These are currently not checked though. And because they don't define a
<libname>_init function an warning is reported when the checksum is
calculated.

src/checksum/Makefile.am

index ae9690b..036a637 100644 (file)
@@ -39,6 +39,10 @@ if !MONOLITHIC
   AM_CFLAGS += -DH_PLUGINS=\""${h_plugins}\""
 endif
 endif
+
+if USE_TLS
+  deps += $(top_builddir)/src/libtls/libtls.la
+  libs += $(DESTDIR)$(ipseclibdir)/libtls.so
 endif
 
 if USE_LIBTNCCS
@@ -47,7 +51,8 @@ if USE_LIBTNCCS
 endif
 
 if USE_SIMAKA
-  checksum_builder_LDADD += $(top_builddir)/src/libsimaka/libsimaka.la
+  deps += $(top_builddir)/src/libsimaka/libsimaka.la
+  libs += $(DESTDIR)$(ipseclibdir)/libsimaka.so
 endif
 
 if USE_CHARON