From 03dcbe3030ccc1586ae90b2e10707db952c55503 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 14 Sep 2022 16:23:13 -0400 Subject: [PATCH] build: fix bad upstream merge The upstream merge of https://github.com/nodejs/node/commit/e27e709d3c accidentally removed code related to systemtap and dtrace. Signed-off-by: Stephen Gallagher PR-URL: https://github.com/nodejs/node/pull/44642 Reviewed-By: Rafael Gonzaga Reviewed-By: Richard Lau --- tools/install.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/install.py b/tools/install.py index 15061be02620f1..f9f4b3c6c0f429 100755 --- a/tools/install.py +++ b/tools/install.py @@ -177,6 +177,11 @@ def files(action): else: output_lib = 'libnode.' + variables.get('shlib_suffix') action([output_prefix + output_lib], variables.get('libdir') + '/' + output_lib) + if 'true' == variables.get('node_use_dtrace'): + action(['out/Release/node.d'], 'lib/dtrace/node.d') + + # behave similarly for systemtap + action(['src/node.stp'], 'share/systemtap/tapset/') action(['deps/v8/tools/gdbinit'], 'share/doc/node/') action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')