libsimaka: Link against Winsock2 on Windows

The library makes use of htons/ntohs().
This commit is contained in:
Martin Willi 2015-03-30 11:24:47 +02:00
parent 280f752c56
commit 101d67440f
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ ipseclib_LTLIBRARIES = libsimaka.la
libsimaka_la_LIBADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la
if USE_WINDOWS
libsimaka_la_LIBADD += -lws2_32
endif
libsimaka_la_SOURCES = simaka_message.h simaka_message.c \
simaka_crypto.h simaka_crypto.c simaka_manager.h simaka_manager.c \
simaka_card.h simaka_provider.h simaka_hooks.h