aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/targets/osmesa/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/osmesa/SConscript b/src/gallium/targets/osmesa/SConscript
index f49f1fe538e..3df5c500976 100644
--- a/src/gallium/targets/osmesa/SConscript
+++ b/src/gallium/targets/osmesa/SConscript
@@ -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',