aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/x509
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/libstrongswan/plugins/x509
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/libstrongswan/plugins/x509')
-rw-r--r--src/libstrongswan/plugins/x509/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/x509/Makefile.am b/src/libstrongswan/plugins/x509/Makefile.am
index 838a62ccf..7dd51e33f 100644
--- a/src/libstrongswan/plugins/x509/Makefile.am
+++ b/src/libstrongswan/plugins/x509/Makefile.am
@@ -3,7 +3,12 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = -rdynamic
+if MONOLITHIC
+noinst_LTLIBRARIES = libstrongswan-x509.la
+else
plugin_LTLIBRARIES = libstrongswan-x509.la
+libstrongswan_x509_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
+endif
libstrongswan_x509_la_SOURCES = x509_plugin.h x509_plugin.c \
x509_cert.h x509_cert.c \
@@ -13,5 +18,3 @@ libstrongswan_x509_la_SOURCES = x509_plugin.h x509_plugin.c \
x509_ocsp_request.h x509_ocsp_request.c \
x509_ocsp_response.h x509_ocsp_response.c
libstrongswan_x509_la_LDFLAGS = -module -avoid-version
-libstrongswan_x509_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
-