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: nodejs#3572
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
Junliang Yan authored and rvagg committed Oct 29, 2015
1 parent 4a5dbea commit b8cea49
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 b8cea49

Please sign in to comment.