gallium: Include winsock lib as a dependency for Windows
authorJesse Natalie <jenatali@microsoft.com>
Thu, 19 Nov 2020 02:17:45 +0000 (18:17 -0800)
committerJesse Natalie <jenatali@microsoft.com>
Wed, 2 Dec 2020 18:12:27 +0000 (10:12 -0800)
commitbb7eee8b406b22d1b5107b9a264249116657b663
tree2f3bfc3226da4884a5622ef4d5054f389211610f
parenta5de2bc2296254340a09a0f83a98ed98d2786e38
gallium: Include winsock lib as a dependency for Windows

The gallium aux lib includes code that calls socket APIs. On Windows,
these APIs come from ws2_32.lib/dll (winsock2), so make sure consumers
link against that lib.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7680>
src/gallium/auxiliary/meson.build