Skip to content

Commit 6975c49

Browse files
yorkieBridgeAR
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 f55ee6e commit 6975c49

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/install.py

+4-1
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)