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 <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>
  • Loading branch information
yorkie authored and MylesBorins committed Oct 3, 2017
1 parent 7dd0ca4 commit ed8c89a
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 ed8c89a

Please sign in to comment.