diff options
-rw-r--r-- | buildqt32.bat | 13 | ||||
-rw-r--r-- | buildqt64.bat | 9 |
2 files changed, 6 insertions, 16 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%
diff --git a/buildqt64.bat b/buildqt64.bat index e157f12..0dd65ac 100644 --- a/buildqt64.bat +++ b/buildqt64.bat @@ -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,7 +27,7 @@ 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
@@ -48,7 +43,7 @@ if %errorlevel% neq 0 exit /b %errorlevel% rem - static -
cd %OPENSSL%
-call %PERL% Configure VC-WIN64A --prefix=%BASEDIR%openssl-%INST_ARCH%
+call perl Configure VC-WIN64A --prefix=%BASEDIR%openssl-%INST_ARCH%
if %errorlevel% neq 0 exit /b %errorlevel%
call ms\do_win64a
if %errorlevel% neq 0 exit /b %errorlevel%
|