diff options
Diffstat (limited to 'src/charon/plugins/socket_default/Makefile.am')
-rw-r--r-- | src/charon/plugins/socket_default/Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/charon/plugins/socket_default/Makefile.am b/src/charon/plugins/socket_default/Makefile.am index 7f75186c9..4eb5734da 100644 --- a/src/charon/plugins/socket_default/Makefile.am +++ b/src/charon/plugins/socket_default/Makefile.am @@ -3,10 +3,15 @@ INCLUDES = -I${linux_headers} -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/ AM_CFLAGS = -rdynamic +if MONOLITHIC +noinst_LTLIBRARIES = libstrongswan-socket-default.la +else plugin_LTLIBRARIES = libstrongswan-socket-default.la +libstrongswan_socket_default_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la +endif libstrongswan_socket_default_la_SOURCES = \ - socket_default_plugin.h socket_default_plugin.c \ - socket_default_socket.h socket_default_socket.c + socket_default_socket.h socket_default_socket.c \ + socket_default_plugin.h socket_default_plugin.c + libstrongswan_socket_default_la_LDFLAGS = -module -avoid-version -libstrongswan_socket_default_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la |