libsimaka: Link against Winsock2 on Windows
The library makes use of htons/ntohs().
This commit is contained in:
parent
280f752c56
commit
101d67440f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue