diff options
author | K.Takata <kentkt@csc.jp> | 2022-03-07 15:16:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-07 15:16:15 +0000 |
commit | d8f8629b1bf566e1dada7515e9b146c69e5d9757 (patch) | |
tree | b6206939ce6839fd684f76c620b7a17b753739fe /src/Make_mvc.mak | |
parent | 6ca883dd8a585a85acdf9303b434211ea91872a7 (diff) |
patch 8.2.4524: MS-Windows: cannot build with some sodium librariesv8.2.4524
Problem: MS-Windows: cannot build with some sodium libraries.
Solution: Make the DLL name configuragle. Add build instructions.
(Ken Takata, closes #9905)
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r-- | src/Make_mvc.mak | 3 |
1 files changed, 2 insertions, 1 deletions
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 |