From 266efa8f7d5f7662da167cc093fdb3da689f849e Mon Sep 17 00:00:00 2001 From: trgoofi Date: Fri, 10 Apr 2015 17:45:48 +0800 Subject: [PATCH] Loading native module interchangeably with iojs and node on windows. ``` Error: Module did not self-register. at Error (native) at Module.load (module.js:335:32) ``` https://github.com/iojs/io.js/pull/1266 --- electron/hadron/binding.gyp | 1 + 1 file changed, 1 insertion(+) diff --git a/electron/hadron/binding.gyp b/electron/hadron/binding.gyp index 3d8bb15..86be36c 100644 --- a/electron/hadron/binding.gyp +++ b/electron/hadron/binding.gyp @@ -2,6 +2,7 @@ 'targets': [ { 'target_name': 'hadron', + 'win_delay_load_hook': 'true', 'sources': [ 'assemble.cc', 'forger.cc', 'cache.cc' ], 'cflags_cc': [ '-std=gnu++11' ], 'defines': [ 'NDEBUG' ],