Browse Source

On windows, link with Winsock and WinMM

v0.7.4-release
Bert Belder 14 years ago
parent
commit
f37cc8720b
  1. 4
      wscript

4
wscript

@ -397,6 +397,10 @@ def configure(conf):
conf.env.append_value('CPPFLAGS', '-pg') conf.env.append_value('CPPFLAGS', '-pg')
conf.env.append_value('LINKFLAGS', '-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', '-Wno-unused-parameter');
conf.env.append_value('CPPFLAGS', '-D_FORTIFY_SOURCE=2'); conf.env.append_value('CPPFLAGS', '-D_FORTIFY_SOURCE=2');

Loading…
Cancel
Save