summaryrefslogtreecommitdiffstats
path: root/buildqt32.bat
diff options
context:
space:
mode:
Diffstat (limited to 'buildqt32.bat')
-rw-r--r--buildqt32.bat13
1 files changed, 4 insertions, 9 deletions
diff --git a/buildqt32.bat b/buildqt32.bat
index 6eef465..d6ecad4 100644
--- a/buildqt32.bat
+++ b/buildqt32.bat
@@ -1,4 +1,4 @@
-@echo off
+REM @echo off
SET BASEDIR=%~dp0
@@ -6,10 +6,6 @@ if not defined SDKDIR (
echo SDKDIR is not defined.
exit /b 1
)
-if not defined PERLDIR (
- echo PERLDIR is not defined.
- exit /b 1
-)
if not defined NASMDIR (
echo NASMDIR is not defined.
exit /b 1
@@ -20,7 +16,6 @@ if not defined MSYSDIR (
)
set PATH=%MSYSDIR%\usr\bin;%PATH%
-SET PERL=%PERLDIR%\bin\perl.exe
SET QT_VERSION=5.12
SET QT_RELEASE=3
@@ -32,13 +27,13 @@ SET SRC_DIR=%BASEDIR%qt-%QT_VERSION%
SET OPENSSL=openssl-1.0.2r
SET OPENSSL_URL=https://www.openssl.org/source/%OPENSSL%.tar.gz"
-SET PATH=%BASEDIR%\wintools;%NASMDIR%;%PERLDIR%\bin;%PATH%
+SET PATH=%BASEDIR%\wintools;%NASMDIR%;%PATH%
if not exist "%OPENSSL%.tar.gz" wget.exe -c "%OPENSSL_URL%
7za.exe x %OPENSSL%.tar.gz -y
if not exist "%OPENSSL%" 7za.exe x %OPENSSL%.tar -y
cd %OPENSSL%
-rm -f NUL
+sh.exe -c "rm -f NUL"
cd %BASEDIR%
rem 32 - Bit
@@ -48,7 +43,7 @@ if %errorlevel% neq 0 exit /b %errorlevel%
rem Build OpenSSL
cd %BASEDIR%\%OPENSSL%
-call %PERL% Configure VC-WIN32 --prefix=%BASEDIR%/openssl-%INST_ARCH%
+call perl Configure VC-WIN32 --prefix=%BASEDIR%/openssl-%INST_ARCH%
if %errorlevel% neq 0 exit /b %errorlevel%
call ms\do_ms.bat
if %errorlevel% neq 0 exit /b %errorlevel%