Skip to content

Commit 78dc928

Browse files
yorkieMylesBorins
authored andcommitted
build: fix shared installing target
PR-URL: #15148 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b166837 commit 78dc928

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/install.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ def files(action):
124124
if sys.platform != 'darwin':
125125
output_prefix += 'lib.target/'
126126

127-
action([output_prefix + output_file], 'bin/' + output_file)
127+
if 'false' == variables.get('node_shared'):
128+
action([output_prefix + output_file], 'bin/' + output_file)
129+
else:
130+
action([output_prefix + output_file], 'lib/' + output_file)
128131

129132
if 'true' == variables.get('node_use_dtrace'):
130133
action(['out/Release/node.d'], 'lib/dtrace/node.d')

0 commit comments

Comments
 (0)