Browse Source

Fix bad platform name.

v0.7.4-release
Peter Bright 14 years ago
committed by Ryan Dahl
parent
commit
79d9f62946
  1. 7
      tools/all.gyp

7
tools/all.gyp

@ -122,11 +122,14 @@
'sources': [ 'sources': [
'../src/platform_win32.cc', '../src/platform_win32.cc',
'../src/node_stdio_win32.cc', '../src/node_stdio_win32.cc',
'../deps/uv/src/eio/eio.c', # file operations depend on eio to link. uv contains eio in unix builds, but not win32. So we need to compile it here instead. # file operations depend on eio to link. uv contains eio in unix builds, but not win32. So we need to compile it here instead.
'../deps/uv/src/eio/eio.c',
], ],
'defines': [ 'defines': [
'PTW32_STATIC_LIB', # we'll need to add pthread-win32 and build/depend on that. 'PTW32_STATIC_LIB',
'FD_SETSIZE=1024', 'FD_SETSIZE=1024',
# we need to use node's preferred "win32" rather than gyp's preferred "win"
'PLATFORM="win32"',
], ],
'libraries': [ 'libraries': [
'-lws2_32.lib', '-lws2_32.lib',

Loading…
Cancel
Save