Skip to content

Commit 266efa8

Browse files
committed
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) ``` nodejs/node#1266
1 parent 9d44533 commit 266efa8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

electron/hadron/binding.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'targets': [
33
{
44
'target_name': 'hadron',
5+
'win_delay_load_hook': 'true',
56
'sources': [ 'assemble.cc', 'forger.cc', 'cache.cc' ],
67
'cflags_cc': [ '-std=gnu++11' ],
78
'defines': [ 'NDEBUG' ],

0 commit comments

Comments
 (0)