summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 55b7da02cc..4eae262a61 100644
--- a/node.gyp
+++ b/node.gyp
@@ -686,6 +686,12 @@
'msvs_disabled_warnings!': [4244],
'conditions': [
+ [ 'node_shared=="true"', {
+ 'sources': [
+ 'src/node_snapshot_stub.cc',
+ 'src/node_code_cache_stub.cc',
+ ]
+ }],
[ 'node_shared=="true" and node_module_version!="" and OS!="win"', {
'product_extension': '<(shlib_suffix)',
'xcode_settings': {