Commit dc3bc892 authored by Joyee Cheung's avatar Joyee Cheung Committed by Rich Trott
Browse files

build: only try to find node when it's needed by the target

Right now `node -p process.versions.openssl` always gets run
in the Makefile even when it's not needed by the target
(e.g. `make clean`, `make test-only`). This patch makes it
a run time call instead of part of the global expansion.

PR-URL: https://github.com/nodejs/node/pull/24115


Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarDaniel Bevenius <daniel.bevenius@gmail.com>
parent f895b5a5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment