Fixing integrity-checks after moving the attr-sql plugin and adding libhydra.
This commit is contained in:
parent
75dc019252
commit
2cba58c5b7
|
@ -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)
|
||||
|
|
|
@ -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\",");
|
||||
|
|
Loading…
Reference in New Issue