build, windows: allow override of python executable

Fixes #723.
This commit is contained in:
Marc Schlaich 2013-02-27 13:38:14 +01:00 committed by Ben Noordhuis
parent a0c1d84c14
commit 85124d7eb5

View File

@ -82,7 +82,8 @@ echo manually install gyp into %~dp0build\gyp.
goto exit goto exit
:have_gyp :have_gyp
python gyp_uv -Dtarget_arch=%target_arch% -Dlibrary=%library% if not defined PYTHON set PYTHON="python"
%PYTHON% gyp_uv -Dtarget_arch=%target_arch% -Dlibrary=%library%
if errorlevel 1 goto create-msvs-files-failed if errorlevel 1 goto create-msvs-files-failed
if not exist uv.sln goto create-msvs-files-failed if not exist uv.sln goto create-msvs-files-failed
echo Project files generated. echo Project files generated.