aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/resolve
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-01 16:15:08 +0100
committerTobias Brunner <tobias@strongswan.org>2010-03-02 10:38:52 +0100
commit6ec60bb92bf2c6e4e564d5b55b25436c74485c56 (patch)
treecca93e37da5e8ef922c126230d2b7b4c3e721e39 /src/charon/plugins/resolve
parent3724668b3d37df67f687cb718ded7fa87c748deb (diff)
downloadstrongswan-6ec60bb92bf2c6e4e564d5b55b25436c74485c56.tar.bz2
strongswan-6ec60bb92bf2c6e4e564d5b55b25436c74485c56.tar.xz
Link all enabled libstrongswan plugins into the library, link all enabled charon plugins into libcharon.
Diffstat (limited to 'src/charon/plugins/resolve')
-rw-r--r--src/charon/plugins/resolve/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/charon/plugins/resolve/Makefile.am b/src/charon/plugins/resolve/Makefile.am
index 5d6f48c9f..78eece670 100644
--- a/src/charon/plugins/resolve/Makefile.am
+++ b/src/charon/plugins/resolve/Makefile.am
@@ -4,11 +4,14 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon
AM_CFLAGS = -rdynamic \
-DRESOLV_CONF=\"${resolv_conf}\"
+if MONOLITHIC
+noinst_LTLIBRARIES = libstrongswan-resolve.la
+else
plugin_LTLIBRARIES = libstrongswan-resolve.la
+libstrongswan_resolve_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
+endif
+
libstrongswan_resolve_la_SOURCES = \
resolve_plugin.h resolve_plugin.c \
resolve_handler.h resolve_handler.c
libstrongswan_resolve_la_LDFLAGS = -module -avoid-version
-libstrongswan_resolve_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
-
-