summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorJoão Reis <reis@janeasystems.com>2019-08-20 21:35:17 +0100
committerRich Trott <rtrott@gmail.com>2019-09-02 21:07:08 -0700
commitd18b6a7e40460efe652ffd1bd072947d635ae890 (patch)
treef1d0f6d85f52a86e8ec65affe059350ebb27c970 /vcbuild.bat
parenteba72acada20dd09836146f04bf8222a5591b7d9 (diff)
downloadandroid-node-v8-d18b6a7e40460efe652ffd1bd072947d635ae890.tar.gz
android-node-v8-d18b6a7e40460efe652ffd1bd072947d635ae890.tar.bz2
android-node-v8-d18b6a7e40460efe652ffd1bd072947d635ae890.zip
build,win: accept Python 3 if 2 is not available
If there is no Python 2 available, use Python 3. This allows to test running configure with Python 3. PR-URL: https://github.com/nodejs/node/pull/29236 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 6897e0a6f8..86b2f1e3c9 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -689,6 +689,9 @@ goto exit
:create-msvs-files-failed
echo Failed to create vc project files.
+if %VCBUILD_PYTHON_VERSION%==3 (
+ echo Python 3 is not yet fully supported, to avoid issues Python 2 should be installed.
+)
del .used_configure_flags
goto exit