Skip to content

Commit

Permalink
test: fix heap-profiler link error LNK1194 on win
Browse files Browse the repository at this point in the history
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: #3572
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
Junliang Yan authored and jasnell committed Oct 29, 2015
1 parent 7883294 commit a8c24ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/addons/heap-profiler/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
'targets': [
{
'target_name': 'binding',
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'win_delay_load_hook': 'false'
}
]
}

0 comments on commit a8c24ce

Please sign in to comment.