Link libcharon to checksum_builder in order to get rid of the fake symbols.
[strongswan.git] / src / checksum / Makefile.am
index aaa60b4..8c27d7d 100644 (file)
@@ -5,7 +5,10 @@ nodist_libchecksum_la_SOURCES = checksum.c
 libchecksum_la_LDFLAGS = -module -avoid-version
 
 checksum_builder_SOURCES = checksum_builder.c
-checksum_builder_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la $(DLLIB)
+checksum_builder_LDADD = \
+       $(top_builddir)/src/libstrongswan/libstrongswan.la \
+       $(top_builddir)/src/libcharon/libcharon.la \
+       $(DLLIB)
 
 BUILT_SOURCES = checksum.c
 CLEANFILES = checksum.c