summaryrefslogtreecommitdiff
path: root/vcvars64.bat
diff options
context:
space:
mode:
Diffstat (limited to 'vcvars64.bat')
-rwxr-xr-xvcvars64.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcvars64.bat b/vcvars64.bat
index 1e5f125..2d52742 100755
--- a/vcvars64.bat
+++ b/vcvars64.bat
@@ -2,7 +2,7 @@
REM Copy saved 64bit libraries into place, if present
REM iphlpapi.lib libeay32.dll libeay32.lib ssleay32.dll ssleay32.lib
REM Modify SAVLIB64 to a directory where these libs are saved.
-set SAVLIB64=lib\x64
+set SAVLIB64=lib64
IF NOT EXIST %SAVLIB64% GOTO NOSAVLIB
copy /Y %SAVLIB64%\*.lib lib
copy /Y %SAVLIB64%\*.dll util
@@ -20,6 +20,8 @@ set VCDIR=%VCINSTALLDIR%
:HAVEDEF
REM Run MS 64bit vcvars
set VCBAT="%VCDIR%\bin\x86_amd64\vcvarsx86_amd64.bat"
+set VCBATDIR="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"
+set VCBAT=%VCBATDIR%\vcvarsx86_amd64.bat
IF EXIST %VCBAT% GOTO RUNVC
echo "Cannot locate vcvars for amd64, please run it manually."
GOTO DONE