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 targos committed Jul 29, 2019
1 parent efe9b97 commit dcef7b8cc18b70452a2e80614a6458bd475d57db
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 dcef7b8

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