diff options
author | Bert Belder <bertbelder@gmail.com> | 2015-03-25 20:53:35 -0700 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2015-03-26 13:32:06 -0700 |
commit | 08acf1352c48aa867ed304db2ca088b2c95e40a4 (patch) | |
tree | c1f51c3ac7e00ef9a56dab352e9e53cf7c23a5b4 /CONTRIBUTING.md | |
parent | 776b73b24306bac0ce299df4f90b7645d5efca31 (diff) | |
download | node-new-08acf1352c48aa867ed304db2ca088b2c95e40a4.tar.gz |
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: https://github.com/iojs/io.js/pull/1251
PR-URL: https://github.com/iojs/io.js/pull/1266
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions