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