gallium/osmesa: link with winsock2 library on Windows

To fix the MSVC build.  The build broke because we started to compile
the ddebug code on Windows after the mtypes.h changes.  Building ddebug
caused us to also use the u_network.c code for the first time.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
Brian Paul 2018-04-13 15:34:23 -06:00
parent 201c08c463
commit 6a519a157b

View file

@ -39,6 +39,9 @@ if env['platform'] == 'windows':
sources += ['osmesa.mingw.def']
else:
sources += ['osmesa.def']
# Link with winsock2 library
env.Append(LIBS = ['ws2_32'])
gallium_osmesa = env.SharedLibrary(
target ='osmesa',