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 nodejs#50737 that,
make install fails for --shared mode.

PR-URL: nodejs#51910
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
zcbenz authored and rdw-msft committed Mar 26, 2024
1 parent 2517a9a commit 7e6614b
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 7e6614b

Please sign in to comment.