Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

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/node#3572
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
Junliang Yan authored and richardlau committed Oct 29, 2015
1 parent 8162579 commit f77b731
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 f77b731

Please sign in to comment.