Skip to content
Permalink
Browse files

build: include stubs in shared library

This is needed for external applications that link to shared libnode.
Fixes #27431

PR-URL: #28897
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information...
jeroen authored and Trott committed Jul 29, 2019
1 parent 980df1c commit ed138baff395ffc2ee8f41e99012866fdc27b4f4
Showing with 6 additions and 0 deletions.
  1. +6 −0 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': {

0 comments on commit ed138ba

Please sign in to comment.
You can’t perform that action at this time.