asio requires linking against libws2_32 on mingw

This commit is contained in:
Sergey Popov 2010-07-22 19:43:07 +00:00
parent 008acdc8dc
commit 20e6cf420e

View File

@ -293,6 +293,8 @@ if env["prereqs"]:
conf.CheckSDL(require_version = '1.2.7') and \
conf.CheckSDL('SDL_net') or Warning("Base prerequisites are not met.")
if have_server_prereqs and env["use_network_ana"]:
if env["PLATFORM"] == 'win32':
env.Append(LIBS = ["libws2_32"])
have_server_prereqs = \
conf.CheckBoost("system") and \
conf.CheckBoost("thread") and \