Make integrity tests compatible with libcharon.
This does currently not work because libtool relinks libcharon on install, thus changing the checksum.
This commit is contained in:
@@ -12,10 +12,11 @@ CLEANFILES = checksum.c
|
||||
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
|
||||
|
||||
|
||||
@@ -78,6 +78,11 @@ int main(int argc, char* argv[])
|
||||
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\",");
|
||||
|
||||
Reference in New Issue
Block a user