Skip to content

Commit ed8c89a

Browse files
yorkieMylesBorins
authored andcommitted
build: fix shared installing target
PR-URL: #15148 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 7dd0ca4 commit ed8c89a

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
@@ -133,7 +133,10 @@ def files(action):
133133
if sys.platform != 'darwin':
134134
output_prefix += 'lib.target/'
135135

136-
action([output_prefix + output_file], 'bin/' + output_file)
136+
if 'false' == variables.get('node_shared'):
137+
action([output_prefix + output_file], 'bin/' + output_file)
138+
else:
139+
action([output_prefix + output_file], 'lib/' + output_file)
137140

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

0 commit comments

Comments
 (0)