libhydra: Remove empty unused library
This commit is contained in:
@@ -7,13 +7,11 @@ charon-systemd.o : $(top_builddir)/config.status
|
||||
|
||||
charon_systemd_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-I$(top_srcdir)/src/libhydra \
|
||||
-I$(top_srcdir)/src/libcharon \
|
||||
$(systemd_CFLAGS) $(systemd_daemon_CFLAGS) $(systemd_journal_CFLAGS) \
|
||||
-DPLUGINS=\""${charon_plugins}\""
|
||||
|
||||
charon_systemd_LDADD = \
|
||||
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
||||
$(top_builddir)/src/libhydra/libhydra.la \
|
||||
$(top_builddir)/src/libcharon/libcharon.la \
|
||||
$(systemd_LIBS) $(systemd_daemon_LIBS) $(systemd_journal_LIBS) -lm $(PTHREADLIB) $(DLLIB)
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include <systemd/sd-journal.h>
|
||||
|
||||
#include <hydra.h>
|
||||
#include <daemon.h>
|
||||
|
||||
#include <library.h>
|
||||
@@ -355,12 +354,6 @@ int main(int argc, char *argv[])
|
||||
sd_notifyf(0, "STATUS=integrity check of charon-systemd failed");
|
||||
return SS_RC_INITIALIZATION_FAILED;
|
||||
}
|
||||
atexit(libhydra_deinit);
|
||||
if (!libhydra_init())
|
||||
{
|
||||
sd_notifyf(0, "STATUS=libhydra initialization failed");
|
||||
return SS_RC_INITIALIZATION_FAILED;
|
||||
}
|
||||
atexit(libcharon_deinit);
|
||||
if (!libcharon_init())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user