Fixed monolithic build of libcharon with libtnccs enabled.
authorTobias Brunner <tobias@strongswan.org>
Tue, 8 Nov 2011 17:28:00 +0000 (18:28 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 8 Nov 2011 17:35:11 +0000 (18:35 +0100)
src/libcharon/Makefile.am

index 41e09fd..b50ea25 100644 (file)
@@ -375,6 +375,13 @@ if MONOLITHIC
 endif
 endif
 
+if USE_LIBTNCCS
+if MONOLITHIC
+  # otherwise this library is linked to the respective plugins
+  libcharon_la_LIBADD += $(top_builddir)/src/libtnccs/libtnccs.la
+endif
+endif
+
 if USE_MEDSRV
   SUBDIRS += plugins/medsrv
 if MONOLITHIC