This does currently not work because libtool relinks libcharon on
install, thus changing the checksum.
INCLUDES = -I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = -rdynamic
-libs = $(shell find $(top_builddir)/src/libstrongswan $(top_builddir)/src/charon \
+libs = $(shell find $(top_builddir)/src/libstrongswan $(top_builddir)/src/libcharon \
-name 'libstrongswan*.so')
if USE_CHARON
+ libs += $(top_builddir)/src/libcharon/.libs/libcharon.so
libs += $(top_builddir)/src/charon/.libs/charon
endif
name = strdup("libstrongswan\",");
sname = strdup("library_init");
}
+ else if (strstr(path, "libcharon.so"))
+ {
+ name = strdup("libcharon\",");
+ sname = strdup("libcharon_init");
+ }
else if (strstr(path, "pool"))
{
name = strdup("pool\",");