Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit cb655b4

Browse files
vmiklosnwellnhof
authored andcommitted
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 2e9e758 (dict: Get random seed from system PRNG, 2023-12-24) updated cmake, but not nmake, correct this.
1 parent c04d9b1 commit cb655b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

win32/Makefile.msvc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ LIBS = $(LIBS) pthreadVC.lib
8181
!if "$(WITH_MODULES)" == "1"
8282
LIBS = $(LIBS) kernel32.lib
8383
!endif
84+
LIBS = $(LIBS) Bcrypt.lib
8485

8586
# The archiver and its options.
8687
AR = lib.exe

0 commit comments

Comments
 (0)