diff --git a/wscript b/wscript index 503d92aaea..5d991c6f7e 100644 --- a/wscript +++ b/wscript @@ -397,6 +397,10 @@ def configure(conf): conf.env.append_value('CPPFLAGS', '-pg') conf.env.append_value('LINKFLAGS', '-pg') + if sys.platform.startswith("win32"): + conf.env.append_value('LIB', 'ws2_32') + conf.env.append_value('LIB', 'winmm') + conf.env.append_value('CPPFLAGS', '-Wno-unused-parameter'); conf.env.append_value('CPPFLAGS', '-D_FORTIFY_SOURCE=2');