mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-26 04:31:39 +08:00
6.6.2 win script improvements
This commit is contained in:
parent
66f76eaf02
commit
67317d7463
BIN
6.6.2/_tools/openssl-3.0.13-WIN32.7z
Normal file
BIN
6.6.2/_tools/openssl-3.0.13-WIN32.7z
Normal file
Binary file not shown.
BIN
6.6.2/_tools/openssl-3.0.13-WIN64A.7z
Normal file
BIN
6.6.2/_tools/openssl-3.0.13-WIN64A.7z
Normal file
Binary file not shown.
@ -12,15 +12,15 @@ $current_dir =~ s#/#\\#g; # convert separators to Windows-style
|
|||||||
$prefix_dir =~ s#/#\\#g; # convert separators to Windows-style
|
$prefix_dir =~ s#/#\\#g; # convert separators to Windows-style
|
||||||
|
|
||||||
my $arch = $ARGV[0];
|
my $arch = $ARGV[0];
|
||||||
|
$arch = "amd64" if ($arch eq ''); # amd64 is nothing is specified, can be x86
|
||||||
|
die "Please specify architecture (x86 or amd64)" if ($arch ne "x86" && $arch ne "amd64"); # die if user specified anything except x86 or amd64
|
||||||
|
|
||||||
my $openssl_version = "3.0.13"; # supported until 7th September 2026
|
my $openssl_version = "3.0.13"; # supported until 7th September 2026
|
||||||
my $openssl_download = "https://www.openssl.org/source/openssl-$openssl_version.tar.gz";
|
my $openssl_download = "https://www.openssl.org/source/openssl-$openssl_version.tar.gz";
|
||||||
my $openssl_arch = $arch eq "amd64" ? "WIN64A" : "WIN32";
|
my $openssl_arch = $arch eq "amd64" ? "WIN64A" : "WIN32";
|
||||||
my $openssl_dir = "$current_dir\\openssl-$openssl_version-$openssl_arch";
|
my $openssl_dir = "$current_dir\\openssl-$openssl_version-$openssl_arch";
|
||||||
my $openssl_7z = "openssl-$openssl_version-$openssl_arch.7z";
|
my $openssl_7z = "openssl-$openssl_version-$openssl_arch.7z";
|
||||||
|
|
||||||
$arch = "x86" if ($arch eq ''); # specify x86 is nothing is specified
|
|
||||||
die "Please specify architecture (x86 or amd64)" if ($arch ne "x86" && $arch ne "amd64"); # die if user specified anything except x86 or amd64
|
|
||||||
|
|
||||||
# will create a batch file
|
# will create a batch file
|
||||||
|
|
||||||
my $batfile = 'compile_win.bat';
|
my $batfile = 'compile_win.bat';
|
||||||
|
Loading…
Reference in New Issue
Block a user