Fixing integrity-checks after moving the attr-sql plugin and adding libhydra.

This commit is contained in:
Tobias Brunner 2010-03-24 11:00:11 +01:00
parent 75dc019252
commit 2cba58c5b7
2 changed files with 12 additions and 2 deletions

View File

@ -15,9 +15,15 @@ CLEANFILES = checksum.c
INCLUDES = -I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = -rdynamic
libs = $(shell find $(top_builddir)/src/libstrongswan $(top_builddir)/src/libcharon \
libs = $(shell find $(top_builddir)/src/libstrongswan \
$(top_builddir)/src/libcharon \
$(top_builddir)/src/libhydra \
-name 'libstrongswan*.so')
if USE_LIBHYDRA
libs += $(top_builddir)/src/libhydra/.libs/libhydra.so
endif
if USE_CHARON
libs += $(top_builddir)/src/libcharon/.libs/libcharon.so
libs += $(top_builddir)/src/charon/.libs/charon
@ -34,7 +40,7 @@ if USE_TOOLS
endif
if USE_ATTR_SQL
libs += $(top_builddir)/src/libstrongswan/plugins/attr_sql/.libs/pool
libs += $(top_builddir)/src/libhydra/plugins/attr_sql/.libs/pool
endif
checksum.c : checksum_builder $(libs)

View File

@ -73,6 +73,10 @@ int main(int argc, char* argv[])
name = strdup("libstrongswan\",");
sname = strdup("library_init");
}
else if (strstr(path, "libhydra.so"))
{
name = strdup("libhydra\",");
}
else if (strstr(path, "libcharon.so"))
{
name = strdup("libcharon\",");