Skip to content

Commit

Permalink
install nasm for openssl compilation on win
Browse files Browse the repository at this point in the history
  • Loading branch information
neodix42 committed Dec 3, 2024
1 parent e2ed70f commit b9462a8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions assembly/native/build-windows-2019.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 (
Expand Down
11 changes: 11 additions & 0 deletions assembly/native/build-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 (
Expand Down

0 comments on commit b9462a8

Please sign in to comment.