diff options
author | Bert Belder <bertbelder@gmail.com> | 2010-11-25 03:50:28 +0300 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2010-12-21 01:51:06 +0300 |
commit | f37cc8720b4e80730fdd3d5a7a7131c39c7b56f9 (patch) | |
tree | 1b7fa175be5d721a5fe47dc1bdd873b079f64cc7 /wscript | |
parent | 6f08fdbcca61b6cf2c9555717e12b124782b42b4 (diff) |
On windows, link with Winsock and WinMM
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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'); |