diff --git a/tools/install.py b/tools/install.py index 2f8870c41bf905..17b0947aaca4cd 100755 --- a/tools/install.py +++ b/tools/install.py @@ -176,7 +176,7 @@ def files(options, action): try_symlink(options, so_name, link_path) else: output_lib = 'libnode.' + options.variables.get('shlib_suffix') - action(options, [os.path.join(output_prefix, output_lib)], + action(options, [os.path.join(options.build_dir, output_lib)], os.path.join(options.variables.get('libdir'), output_lib)) action(options, [os.path.join(options.v8_dir, 'tools/gdbinit')], 'share/doc/node/')