Browse Source

build: fix shared installing target

PR-URL: https://github.com/nodejs/node/pull/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>
canary-base
Yorkie Liu 7 years ago
committed by Ruben Bridgewater
parent
commit
6975c490d1
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 3
      tools/install.py

3
tools/install.py

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

Loading…
Cancel
Save