diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2018-12-18 14:11:54 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-12-31 01:31:51 +0100 |
commit | 571273adad22ba2f77221e10b85de501c48b1102 (patch) | |
tree | 8c6862e40970394bc0f08fd120a9f02d641fc6d1 /vcbuild.bat | |
parent | 9b60bcb3b92cb499e0ca16682260c403ac4b164e (diff) | |
download | android-node-v8-571273adad22ba2f77221e10b85de501c48b1102.tar.gz android-node-v8-571273adad22ba2f77221e10b85de501c48b1102.tar.bz2 android-node-v8-571273adad22ba2f77221e10b85de501c48b1102.zip |
win, build: fix building addons on Windows
Building addons would fail because addon-verify.js dependencies from
tools\doc where not installed. This fixes this issue by installing
those dependencies if addons are to be built.
Fixes: https://github.com/nodejs/node/issues/25096
PR-URL: https://github.com/nodejs/node/pull/25108
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r-- | vcbuild.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcbuild.bat b/vcbuild.bat index 215d0f4454..aa96555e88 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -446,8 +446,8 @@ if errorlevel 1 goto exit :install-doctools -REM only install if building doc OR testing doctool -if not defined doc ( +REM only install if building doc OR testing doctool OR building addons +if not defined doc if not defined build_addons ( echo.%test_args% | findstr doctool 1>nul if errorlevel 1 goto :skip-install-doctools ) |