Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
build: fix node compile to output correctly in shared mode
When compiling node in shared mode, the output should be a
shared library rather than an executable.

Fixes: #28845
  • Loading branch information
davidhouweling committed Feb 4, 2020
commit 474f6e988edd29ba5af114c735df8ab9603b0a7f
3 changes: 2 additions & 1 deletion node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
'node_shared_openssl%': 'false',
'node_v8_options%': '',
'node_core_target_name%': 'node',
'node_target_type%': 'executable',
'node_lib_target_name%': 'libnode',
'node_intermediate_lib_type%': 'static_library',
'node_builtin_modules_path%': '',
Expand Down Expand Up @@ -315,7 +316,7 @@
'targets': [
{
'target_name': '<(node_core_target_name)',
'type': 'executable',
'type': '<(node_target_type)',

'defines': [
'NODE_WANT_INTERNALS=1',
Expand Down