charon must load libtls if available
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 2 Nov 2011 08:28:09 +0000 (09:28 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 2 Nov 2011 08:28:09 +0000 (09:28 +0100)
src/charon/Makefile.am

index 6918216..ce459f6 100644 (file)
@@ -18,6 +18,10 @@ charon_LDADD = \
        $(top_builddir)/src/libcharon/libcharon.la \
        -lm $(PTHREADLIB) $(DLLIB)
 
+if USE_TLS
+  charon_LDADD += $(top_builddir)/src/libtls/libtls.la
+endif
+
 if USE_LIBTNCCS
   charon_LDADD += $(top_builddir)/src/libtnccs/libtnccs.la
 endif