diff --git a/tools/install.py b/tools/install.py index afebb60e994..d6793755cbc 100755 --- a/tools/install.py +++ b/tools/install.py @@ -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')