Skip to content

Commit 08acf13

Browse files
committedMar 26, 2015
win,node-gyp: make delay-load hook optional
The delay-load hook that was landed in 3d46fef to make compiled addons work on Windows regardless of the iojs.exe/node.exe filename causes issues with a small amount of compiled addons. Therefore this patch makes it an opt-in feature. An addon may set the 'win_delay_load_hook' option to 'true' in its binding.gyp to enable this feature. Example: ``` { 'targets': [ { 'target_name': 'ernie', 'win_delay_load_hook': 'true', ... ``` Refs: #1251 PR-URL: #1266 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 776b73b commit 08acf13

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed
 

‎deps/npm/node_modules/node-gyp/addon.gypi

+25-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.