[PATCH setup] Link with -lws2_32 again

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH setup] Link with -lws2_32 again

Yaakov Selkowitz-2
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 <[hidden email]>
---
 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

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH setup] Link with -lws2_32 again

Achim Gratz
Yaakov Selkowitz writes:
> libgpg-error 1.28 includes new APIs which use socket functions, which
> on Win32 are provided by WinSock2.

Thanks, I can confirm this works.


Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH setup] Link with -lws2_32 again

Jon TURNEY
In reply to this post by Yaakov Selkowitz-2
On 20/03/2018 21:42, Yaakov Selkowitz wrote:
> 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 <[hidden email]>

Thanks.  Applied.