Skip to content

Commit f4ac7ba

Browse files
zcbenzrichardlau
authored andcommitted
tools: fix installing node with shared mode
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>
1 parent 136b6a9 commit f4ac7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/install.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def files(options, action):
176176
try_symlink(options, so_name, link_path)
177177
else:
178178
output_lib = 'libnode.' + options.variables.get('shlib_suffix')
179-
action(options, [os.path.join(output_prefix, output_lib)],
179+
action(options, [os.path.join(options.build_dir, output_lib)],
180180
os.path.join(options.variables.get('libdir'), output_lib))
181181

182182
action(options, [os.path.join(options.v8_dir, 'tools/gdbinit')], 'share/doc/node/')

0 commit comments

Comments
 (0)