Link libcharon to checksum_builder in order to get rid of the fake symbols.
This commit is contained in:
parent
d7e977aced
commit
48aa81a67a
|
@ -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
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
|
||||
#include <library.h>
|
||||
|
||||
/* we need to fake some charon symbols to dlopen() its plugins */
|
||||
void *charon, *eap_type_names, *auth_class_names, *protocol_id_names,
|
||||
*action_names, *ipsec_mode_names, *ike_sa_state_names, *child_sa_state_names,
|
||||
*policy_dir_names, *ipcomp_transform_names, *debug_names, *controller_cb_empty;
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue