Skip to content

Commit

Permalink
Compile libsodium
Browse files Browse the repository at this point in the history
  • Loading branch information
neodix42 authored Jun 9, 2024
1 parent 5603e74 commit 7234474
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions assembly/native/build-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,15 @@ echo Using secp256k1...


if not exist "libsodium" (
curl -Lo libsodium-1.0.20-stable-msvc.zip https://download.libsodium.org/libsodium/releases/libsodium-1.0.20-stable-msvc.zip
gti clone https://github.com/jedisct1/libsodium.git
cd libsodium\builds\msvc\vs2022\libsodium
msbuild libsodium.vcxproj /p:Configuration=Release /p:platform=x64 -p:PlatformToolset=v143
dir /s
IF %errorlevel% NEQ 0 (
echo Can't download libsodium
exit /b %errorlevel%
)
unzip libsodium-1.0.20-stable-msvc.zip
cd ..\..\..\..\..
) else (
echo Using libsodium...
)
Expand Down

0 comments on commit 7234474

Please sign in to comment.