]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
libcharon: Link against Winsock2 on Windows
authorMartin Willi <martin@revosec.ch>
Tue, 29 Oct 2013 09:59:08 +0000 (10:59 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:04 +0000 (15:53 +0200)
src/libcharon/Makefile.am

index 586d1dd9a1df3ca4936e12d9b9ac5b2b65bb27fc..a4f1ebbe3f597aa20c672f7bd8687b86bcf53143 100644 (file)
@@ -144,6 +144,7 @@ libcharon_la_LIBADD = \
   -lm $(PTHREADLIB) $(DLLIB) $(SOCKLIB)
 
 if USE_WINDOWS
+  libcharon_la_LIBADD += -lws2_32
 else
   libcharon_la_SOURCES += \
     bus/listeners/sys_logger.c bus/listeners/sys_logger.h