adding a check to sanity to look for the nodejs command
This commit is contained in:
parent
b66410043a
commit
79644ac3c4
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,12 @@ pub fn check(build: &mut Build) {
|
|||
|
||||
need_cmd("python".as_ref());
|
||||
|
||||
// If a manual nodejs was added to the config,
|
||||
// of if a nodejs install is detected through bootstrap.py, use it.
|
||||
if build.config.nodejs.is_some() {
|
||||
need_cmd("nodejs".as_ref())
|
||||
}
|
||||
|
||||
// We're gonna build some custom C code here and there, host triples
|
||||
// also build some C++ shims for LLVM so we need a C++ compiler.
|
||||
for target in build.config.target.iter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue