win32, msvc: fix missing linking against Bcrypt.lib

Fixes this link error:

dict.obj : error LNK2019: unresolved external symbol BCryptGenRandom referenced in function xmlInitRandom

Commit 2e9e758d1ecb52b73a43db79d326c18d7d94c8d7 (dict: Get random seed
from system PRNG, 2023-12-24) updated cmake, but not nmake, correct
this.
This commit is contained in:
Miklos Vajna 2024-06-14 22:29:29 +02:00
parent 1aa37db04c
commit 7e83a08994

View File

@ -81,6 +81,7 @@ LIBS = $(LIBS) pthreadVC.lib
!if "$(WITH_MODULES)" == "1" !if "$(WITH_MODULES)" == "1"
LIBS = $(LIBS) kernel32.lib LIBS = $(LIBS) kernel32.lib
!endif !endif
LIBS = $(LIBS) Bcrypt.lib
# The archiver and its options. # The archiver and its options.
AR = lib.exe AR = lib.exe