mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
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>
This commit is contained in:
parent
7dd0ca40e2
commit
ed8c89a07d
1 changed files with 4 additions and 1 deletions
|
@ -133,7 +133,10 @@ def files(action):
|
||||||
if sys.platform != 'darwin':
|
if sys.platform != 'darwin':
|
||||||
output_prefix += 'lib.target/'
|
output_prefix += 'lib.target/'
|
||||||
|
|
||||||
|
if 'false' == variables.get('node_shared'):
|
||||||
action([output_prefix + output_file], 'bin/' + output_file)
|
action([output_prefix + output_file], 'bin/' + output_file)
|
||||||
|
else:
|
||||||
|
action([output_prefix + output_file], 'lib/' + output_file)
|
||||||
|
|
||||||
if 'true' == variables.get('node_use_dtrace'):
|
if 'true' == variables.get('node_use_dtrace'):
|
||||||
action(['out/Release/node.d'], 'lib/dtrace/node.d')
|
action(['out/Release/node.d'], 'lib/dtrace/node.d')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue