aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/medcli/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/medcli/Makefile.am')
-rw-r--r--src/charon/plugins/medcli/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/charon/plugins/medcli/Makefile.am b/src/charon/plugins/medcli/Makefile.am
index 96bb650cf..c6351a7eb 100644
--- a/src/charon/plugins/medcli/Makefile.am
+++ b/src/charon/plugins/medcli/Makefile.am
@@ -3,11 +3,15 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon
AM_CFLAGS = -rdynamic
+if MONOLITHIC
+noinst_LTLIBRARIES = libstrongswan-medcli.la
+else
plugin_LTLIBRARIES = libstrongswan-medcli.la
+libstrongswan_medcli_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
+endif
+
libstrongswan_medcli_la_SOURCES = medcli_plugin.h medcli_plugin.c \
medcli_creds.h medcli_creds.c \
medcli_config.h medcli_config.c \
medcli_listener.h medcli_listener.c
libstrongswan_medcli_la_LDFLAGS = -module -avoid-version
-libstrongswan_medcli_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
-