diff --git a/makepanda/makepanda.bat b/makepanda/makepanda.bat index ef93cb7ccb..c143d3aa75 100755 --- a/makepanda/makepanda.bat +++ b/makepanda/makepanda.bat @@ -12,10 +12,17 @@ if defined MAKEPANDA_THIRDPARTY set thirdparty=%MAKEPANDA_THIRDPARTY% if not exist makepanda\makepanda.py goto :missing1 if not exist %thirdparty%\win-python\python.exe goto :missing2 + +if exist %thirdparty%\win-python-x64\python.exe goto :build64 %thirdparty%\win-python\python.exe makepanda\makepanda.py %* if errorlevel 1 if x%1 == x--slavebuild exit 1 goto done +:build64 +%thirdparty%\win-python-x64\python.exe makepanda\makepanda.py %* +if errorlevel 1 if x%1 == x--slavebuild exit 1 +goto done + :missing1 echo You need to change directory to the root of the panda source tree echo before invoking makepanda. For further install instructions, read