From f77b7318f882d669879fe6f9c2e22f55bd8a677a Mon Sep 17 00:00:00 2001 From: Junliang Yan Date: Wed, 28 Oct 2015 15:57:13 -0400 Subject: [PATCH] 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 --- test/addons/heap-profiler/binding.gyp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/addons/heap-profiler/binding.gyp b/test/addons/heap-profiler/binding.gyp index 3bfb84493f3..b75f68fe3a4 100644 --- a/test/addons/heap-profiler/binding.gyp +++ b/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' } ] }