projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f08fdb
)
On windows, link with Winsock and WinMM
author
Bert Belder
<bertbelder@gmail.com>
Thu, 25 Nov 2010 00:50:28 +0000
(
01:50
+0100)
committer
Bert Belder
<bertbelder@gmail.com>
Mon, 20 Dec 2010 22:51:06 +0000
(23:51 +0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
503d92a
..
5d991c6
100644
(file)
--- 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');