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 and richardlau committed Mar 25, 2024
1 parent 136b6a9 commit f4ac7ba
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 f4ac7ba

Please sign in to comment.