From d8f8629b1bf566e1dada7515e9b146c69e5d9757 Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Mon, 7 Mar 2022 15:16:15 +0000 Subject: patch 8.2.4524: MS-Windows: cannot build with some sodium libraries Problem: MS-Windows: cannot build with some sodium libraries. Solution: Make the DLL name configuragle. Add build instructions. (Ken Takata, closes #9905) --- src/Make_mvc.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Make_mvc.mak') diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 7b16c59714..aaaf5303dd 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -391,7 +391,8 @@ SODIUM = no !if "$(SODIUM)" != "no" SOD_INC = /I "$(SODIUM)\include" ! if "$(DYNAMIC_SODIUM)" == "yes" -SOD_DEFS = -DHAVE_SODIUM -DDYNAMIC_SODIUM +SODIUM_DLL = libsodium.dll +SOD_DEFS = -DHAVE_SODIUM -DDYNAMIC_SODIUM -DDYNAMIC_SODIUM_DLL=\"$(SODIUM_DLL)\" SOD_LIB = ! else SOD_DEFS = -DHAVE_SODIUM -- cgit v1.2.3