byteorder: Add 32-bit unaligned little-endian conversion functions
[strongswan.git] / src / libtnccs / Makefile.am
index d1f8825..7a630fe 100644 (file)
@@ -3,9 +3,18 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtncif \
        -I$(top_srcdir)/src/libtls
 
+AM_LDFLAGS = \
+       -no-undefined
+
 ipseclib_LTLIBRARIES = libtnccs.la
 
-libtnccs_la_LIBADD = $(top_builddir)/src/libtncif/libtncif.la
+libtnccs_la_LIBADD = \
+       $(top_builddir)/src/libstrongswan/libstrongswan.la \
+       $(top_builddir)/src/libtncif/libtncif.la
+
+if USE_WINDOWS
+  libtnccs_la_LIBADD += -lws2_32
+endif
 
 libtnccs_la_SOURCES = \
 tnc/tnc.h tnc/tnc.c \
@@ -67,5 +76,3 @@ if MONOLITHIC
   libtnccs_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la
 endif
 endif
-
-