node/deps
Bert Belder 3d46fefe0c win,node-gyp: allow node.exe/iojs.exe to be renamed
On Windows, when node or io.js attempts to dynamically load a compiled
addon, the compiled addon tries to load node.exe or iojs.exe again -
depending on which import library the module used when it was linked.
This makes it impossible to rename node.exe or iojs.exe, because when
that happens the module can't find its dependencies.

With this patch, a delay-load hook is added to all modules that are
compiled with node-gyp. The delay-load hook ensures that whenever a
module tries to load imports from node.exe/iojs.exe, it'll just refer
back to the process image, thus making it possible to rename the
iojs/node binary.

Bug: https://github.com/iojs/io.js/issues/751
Bug: https://github.com/iojs/io.js/issues/965
Upstream PR: https://github.com/TooTallNate/node-gyp/pull/599

PR-URL: https://github.com/iojs/io.js/pull/1251
Reviewed-By: Rod Vagg <rod@vagg.org>
2015-03-24 21:18:26 -07:00
..
cares src,deps: replace LoadLibrary by LoadLibraryW 2015-01-07 23:38:28 +01:00
http_parser deps: roll back http_parser to 2.3.0 2015-01-28 16:56:44 +01:00
npm win,node-gyp: allow node.exe/iojs.exe to be renamed 2015-03-24 21:18:26 -07:00
openssl deps: upgrade to openssl-1.0.1m 2015-03-19 10:08:13 -07:00
uv deps: update libuv to 1.4.2 2015-02-26 14:24:58 +01:00
v8 deps: upgrade v8 to 4.1.0.25 2015-03-23 13:28:27 +11:00
zlib deps: don't build minizip into zlib 2015-01-10 02:38:18 +01:00