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 <[email protected]> --- 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
