diff --git a/node.gyp b/node.gyp index 55b7da02ccaf18..4eae262a61e77b 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': {