This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup] Link with -lws2_32 again
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 20 Mar 2018 16:42:19 -0500
- Subject: [PATCH setup] Link with -lws2_32 again
- References: <59b88bea-6ecd-a686-6f8e-908911fd66c2@cornell.edu>
libgpg-error 1.28 includes new APIs which use socket functions, which
on Win32 are provided by WinSock2.
https://cygwin.com/ml/cygwin/2018-03/msg00306.html
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 7a5b2cd..0c27529 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -99,7 +99,7 @@ inilint_SOURCES = \
@SETUP@_LDADD = \
libgetopt++/libgetopt++.la -lgcrypt -lgpg-error -llzma -lbz2 -lz -lsolv -lregex \
- -lshlwapi -lcomctl32 -lole32 -lpsapi -luuid -lntdll -lwininet -lmingw32
+ -lshlwapi -lcomctl32 -lole32 -lpsapi -luuid -lntdll -lwininet -lws2_32 -lmingw32
@SETUP@_LDFLAGS = -mwindows -Wc,-static -static-libtool-libs
@SETUP@_SOURCES = \
AntiVirus.cc \
--
2.16.2