systemd: Discover and check systemd libraries with pkg-config during configure

This commit is contained in:
Martin Willi
2014-09-22 14:19:38 +02:00
parent e2d9f27c19
commit db8ae75bf6
2 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -9,10 +9,11 @@ charon_systemd_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan \
-I$(top_srcdir)/src/libhydra \
-I$(top_srcdir)/src/libcharon \
$(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 \
-lsystemd-daemon -lsystemd-journal -lm $(PTHREADLIB) $(DLLIB)
$(systemd_daemon_LIBS) $(systemd_journal_LIBS) -lm $(PTHREADLIB) $(DLLIB)