Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dcef7b8

Browse filesBrowse files
jeroentargos
authored andcommitted
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>
1 parent efe9b97 commit dcef7b8
Copy full SHA for dcef7b8

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Collapse file

‎node.gyp‎

Copy file name to clipboardExpand all lines: node.gyp
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,12 @@
686686
'msvs_disabled_warnings!': [4244],
687687

688688
'conditions': [
689+
[ 'node_shared=="true"', {
690+
'sources': [
691+
'src/node_snapshot_stub.cc',
692+
'src/node_code_cache_stub.cc',
693+
]
694+
}],
689695
[ 'node_shared=="true" and node_module_version!="" and OS!="win"', {
690696
'product_extension': '<(shlib_suffix)',
691697
'xcode_settings': {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.