Skip to content

Commit

Permalink
tools: fix installing node with shared mode
Browse files Browse the repository at this point in the history
Fix a bug caused by #50737 that,
make install fails for --shared mode.

PR-URL: #51910
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
zcbenz authored Mar 1, 2024
1 parent aac5ad9 commit 6aa1d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down

0 comments on commit 6aa1d98

Please sign in to comment.