aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/resolve/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/resolve/Makefile.am')
-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
-
-