fixed compile_win.pl

This commit is contained in:
kleuter 2021-05-14 15:48:46 +02:00
parent e6f761262a
commit d2015aaeba

View File

@ -34,17 +34,17 @@ printLineToBat ("7z x openssl-$openssl_version.tar.gz");
printLineToBat ("7z x openssl-$openssl_version.tar"); printLineToBat ("7z x openssl-$openssl_version.tar");
printLineToBat ("rm openssl-$openssl_version.tar.gz"); printLineToBat ("rm openssl-$openssl_version.tar.gz");
printLineToBat ("rm openssl-$openssl_version.tar"); printLineToBat ("rm openssl-$openssl_version.tar");
printLineToBat ("cd $openssl_dir"); printLineToBat ("cd $openssl_dir"); # go to openssl dir
printLineToBat ("perl Configure VC-$openssl_arch no-asm no-shared no-tests --prefix=%cd%\\build --openssldir=%cd%\\build"); printLineToBat ("perl Configure VC-$openssl_arch no-asm no-shared no-tests --prefix=%cd%\\build --openssldir=%cd%\\build");
printLineToBat ("nmake"); printLineToBat ("nmake");
printLineToBat ("nmake install"); printLineToBat ("nmake install");
# do little clean up # do some clean up:
printLineToBat ("rm test\\*.exe"); printLineToBat ("rm test\\*.exe");
printLineToBat ("rm test\\*.pdb"); printLineToBat ("rm test\\*.pdb");
printLineToBat ("rm test\\*.obj"); printLineToBat ("rm test\\*.obj");
printLineToBat ("cd .."); # go back to qtbase
printLineToBat (":OPENSSL_ALREAD_COMPILED"); printLineToBat (":OPENSSL_ALREAD_COMPILED");
# go back to qtbase
printLineToBat ("cd ..");
# -developer-build creates an in-source build for developer usage. # -developer-build creates an in-source build for developer usage.
# openssl: see https://bugreports.qt.io/browse/QTBUG-65501 # openssl: see https://bugreports.qt.io/browse/QTBUG-65501