Browse Source

win: link to psapi.lib

broke in 65c2763
Ryan Dahl 14 years ago
parent
commit
197628846d
  1. 1
      node.gyp
  2. 1
      src/platform_win32.cc
  3. 1
      wscript

1
node.gyp

@ -112,6 +112,7 @@
# we need to use node's preferred "win32" rather than gyp's preferred "win"
'PLATFORM="win32"',
],
'libraries': [ '-lpsapi.lib' ]
},{ # POSIX
'defines': [ '__POSIX__' ],
'sources': [

1
src/platform_win32.cc

@ -33,6 +33,7 @@
#endif
#include <platform_win32.h>
#include <psapi.h>
namespace node {

1
wscript

@ -491,6 +491,7 @@ def configure(conf):
conf.env.append_value('LINKFLAGS', '-pg')
if sys.platform.startswith("win32"):
conf.env.append_value('LIB', 'psapi')
conf.env.append_value('LIB', 'ws2_32')
conf.env.append_value('LIB', 'winmm')

Loading…
Cancel
Save