mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
install nasm for openssl compilation on win
This commit is contained in:
parent
e2ed70f41a
commit
b9462a840c
2 changed files with 22 additions and 0 deletions
|
@ -26,6 +26,13 @@ IF %errorlevel% NEQ 0 (
|
|||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
echo Installing nasm...
|
||||
choco install -y nasm
|
||||
IF %errorlevel% NEQ 0 (
|
||||
echo Can't install nasm
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
mkdir third_libs
|
||||
cd third_libs
|
||||
|
||||
|
@ -70,6 +77,10 @@ if not exist "openssl" (
|
|||
git checkout openssl-3.1.4
|
||||
where perl
|
||||
perl Configure VC-WIN64A
|
||||
IF %errorlevel% NEQ 0 (
|
||||
echo Can't configure openssl
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
nmake
|
||||
cd ..
|
||||
) else (
|
||||
|
|
|
@ -26,6 +26,13 @@ IF %errorlevel% NEQ 0 (
|
|||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
echo Installing nasm...
|
||||
choco install -y nasm
|
||||
IF %errorlevel% NEQ 0 (
|
||||
echo Can't install nasm
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
mkdir third_libs
|
||||
cd third_libs
|
||||
|
||||
|
@ -70,6 +77,10 @@ if not exist "openssl" (
|
|||
git checkout openssl-3.1.4
|
||||
where perl
|
||||
perl Configure VC-WIN64A
|
||||
IF %errorlevel% NEQ 0 (
|
||||
echo Can't configure openssl
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
nmake
|
||||
cd ..
|
||||
) else (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue