diff --git a/common.gypi b/common.gypi index 04b0977701..462d66d331 100644 --- a/common.gypi +++ b/common.gypi @@ -1,6 +1,7 @@ { 'variables': { 'clang': 0, + 'node_module_version': 15, 'conditions': [ ['OS=="mac" or OS=="linux"', { 'clang': 1, @@ -100,6 +101,10 @@ 'include_dirs': [ 'vendor/brightray/vendor/download/libchromiumcontent/src/v8/include', ], + 'defines': [ + # Override NODE_MODULE_VERSION + 'NODE_MODULE_VERSION=<(node_module_version)', + ], }], ['_target_name=="libuv"', { 'conditions': [ diff --git a/vendor/node b/vendor/node index 20b07f3e99..9a477fc921 160000 --- a/vendor/node +++ b/vendor/node @@ -1 +1 @@ -Subproject commit 20b07f3e991f82d6aef22e8b8212f19ef1cb5bcb +Subproject commit 9a477fc92198e9e7d3ffcc989f51a290d901c767