mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00: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
f55ee6e24a
commit
6975c490d1
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user