[Xcb] libxcb on Windows must be linked against libws2_32

Vincent Torri vtorri at univ-evry.fr
Mon Apr 18 00:35:43 PDT 2011



On Mon, 18 Apr 2011, Vincent Torri wrote:

>
> hey,
>
> as libxcb on Windows uses winsock2, one must link against libws2_32. One 
> possible solution:
>
>
> mingw*)
> 	have_win32="yes"
> 	lt_enable_auto_import="-Wl,--enable-auto-import"
> +	NEEDED_LIBS="${NEEDED_LIBS} -lws2_32"
> 	;;

another modification in xcb.pc.in: one need to add -lws2_32 to 
Libs.private when on Windows

>
> Vincent
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>
>


More information about the Xcb mailing list