Skip to content

Commit a0e52cb

Browse files
committed
tools: fix installing node with shared mode
Fix a bug caused by nodejs#50737 that, make install fails for --shared mode.
1 parent 2f01f02 commit a0e52cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/install.py

Lines changed: 1 addition & 1 deletion
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)