Skip to content

Commit

Permalink
build: fix shared installing target
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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 Sep 28, 2017
1 parent d80683d commit 60b4374
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 @@ -133,7 +133,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 60b4374

Please sign in to comment.