summaryrefslogtreecommitdiff
path: root/src/libipsec/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libipsec/Makefile.am')
-rw-r--r--src/libipsec/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libipsec/Makefile.am b/src/libipsec/Makefile.am
index 90b456114..a35aba2e5 100644
--- a/src/libipsec/Makefile.am
+++ b/src/libipsec/Makefile.am
@@ -16,6 +16,10 @@ ipsec_sa_mgr.c ipsec_sa_mgr.h
libipsec_la_LIBADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la
+if USE_WINDOWS
+ libipsec_la_LIBADD += -lws2_32
+endif
+
AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan