Skip to content

Commit

Permalink
build: fix shared installing target
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
yorkie authored and MylesBorins committed Oct 25, 2017
1 parent b166837 commit 78dc928
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ def files(action):
if sys.platform != 'darwin':
output_prefix += 'lib.target/'

action([output_prefix + output_file], 'bin/' + output_file)
if 'false' == variables.get('node_shared'):
action([output_prefix + output_file], 'bin/' + output_file)
else:
action([output_prefix + output_file], 'lib/' + output_file)

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

0 comments on commit 78dc928

Please sign in to comment.