From 72fc1e8dc62512feb9edac7ca508f4905bf70b92 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 30 Sep 2014 20:30:52 +0800 Subject: [PATCH] Increase node_module_version, fixes #533 --- common.gypi | 5 +++++ vendor/node | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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