From bb7eee8b406b22d1b5107b9a264249116657b663 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Wed, 18 Nov 2020 18:17:45 -0800 Subject: [PATCH] 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 Part-of: --- src/gallium/auxiliary/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/meson.build b/src/gallium/auxiliary/meson.build index 79df2476e2a..5344393e75e 100644 --- a/src/gallium/auxiliary/meson.build +++ b/src/gallium/auxiliary/meson.build @@ -506,7 +506,7 @@ libgallium = static_library( cpp_args : [cpp_msvc_compat_args], gnu_symbol_visibility : 'hidden', dependencies : [ - dep_libdrm, dep_llvm, dep_dl, dep_m, dep_thread, dep_lmsensors, + dep_libdrm, dep_llvm, dep_dl, dep_m, dep_thread, dep_lmsensors, dep_ws2_32, idep_nir, idep_nir_headers, idep_mesautil, ], build_by_default : false