Skip to content

Commit 0711e3b

Browse files
zcbenzmarco-ippolito
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 17ab5ae commit 0711e3b

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)