summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/node-gyp/addon.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/node-gyp/addon.gypi')
-rw-r--r--deps/npm/node_modules/node-gyp/addon.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/npm/node_modules/node-gyp/addon.gypi b/deps/npm/node_modules/node-gyp/addon.gypi
index 89e71c0c50..1573fa92b2 100644
--- a/deps/npm/node_modules/node-gyp/addon.gypi
+++ b/deps/npm/node_modules/node-gyp/addon.gypi
@@ -15,6 +15,9 @@
}],
[ 'OS=="win"', {
'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
+ # warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
+ # needs to have dll-interface to be used by clients of class 'node::ObjectWrap'
+ 'msvs_disabled_warnings': [ 4251 ],
}],
[ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
'cflags': [ '-fPIC' ],