diff options
author | Joerg Koenig <Joerg.Koenig@techsat.com> | 2019-05-15 21:40:36 (GMT) |
---|---|---|
committer | Joerg Koenig <Joerg.Koenig@techsat.com> | 2019-05-15 21:40:36 (GMT) |
commit | d7a902b0a5efc6308faee663a2cc63163b1a45fc (patch) | |
tree | 19d8883614bb3a92c0e5a2df7d3a24ee58ac2a34 /buildqt32.bat | |
parent | d7bdf5ed0b3b02f9492a1d2c71a87805a120d7b0 (diff) | |
download | Qt-d7a902b0a5efc6308faee663a2cc63163b1a45fc.zip Qt-d7a902b0a5efc6308faee663a2cc63163b1a45fc.tar.gz Qt-d7a902b0a5efc6308faee663a2cc63163b1a45fc.tar.bz2 |
Fixed windows scripts
Change-Id: I81baedfd7bf12648b3948a5f5f3d7ba1da5a168d
Diffstat (limited to 'buildqt32.bat')
-rw-r--r-- | buildqt32.bat | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/buildqt32.bat b/buildqt32.bat index d6ecad4..957d30c 100644 --- a/buildqt32.bat +++ b/buildqt32.bat @@ -10,12 +10,17 @@ if not defined NASMDIR ( echo NASMDIR is not defined.
exit /b 1
)
+if not defined PERLDIR (
+ echo PERLDIR is not defined.
+ exit /b 1
+)
if not defined MSYSDIR (
echo MSYSDIR is not defined.
exit /b 1
)
-set PATH=%MSYSDIR%\usr\bin;%PATH%
+set PATH=%PERLDIR%\bin;%MSYSDIR%\usr\bin;%PATH%
+set PERL=%PERLDIR%\bin\perl.exe
SET QT_VERSION=5.12
SET QT_RELEASE=3
@@ -43,7 +48,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%
|