Browse Source

test: fix heap-profiler link error LNK1194 on win

Fix the following error message in windows using VS 2013:

    LINK : fatal error LNK1194: cannot delay-load 'node.exe'
    due to import of data symbol '"__declspec(dllimport)
    const v8::OutputStream::`vftable'"
    (__imp_??_7OutputStream@v8@@6B@)'; link without
    /DELAYLOAD:node.exe

PR-URL: https://github.com/nodejs/node/pull/3572
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v4.x
Junliang Yan 9 years ago
committed by James M Snell
parent
commit
39ff44e94f
  1. 3
      test/addons/heap-profiler/binding.gyp

3
test/addons/heap-profiler/binding.gyp

@ -2,7 +2,8 @@
'targets': [
{
'target_name': 'binding',
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'win_delay_load_hook': 'false'
}
]
}

Loading…
Cancel
Save