Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build: include stubs in shared library
This is needed for external applications that link to shared libnode.
Fixes #27431
  • Loading branch information
jeroen committed Jul 29, 2019
commit 0923f58a7e4979c3cd2cfa124d757ad0d8d169e4
6 changes: 6 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down