mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
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 2e9e758d1e (dict: Get random seed
from system PRNG, 2023-12-24) updated cmake, but not nmake, correct
this.
This commit is contained in:
@@ -81,6 +81,7 @@ LIBS = $(LIBS) pthreadVC.lib
|
||||
!if "$(WITH_MODULES)" == "1"
|
||||
LIBS = $(LIBS) kernel32.lib
|
||||
!endif
|
||||
LIBS = $(LIBS) Bcrypt.lib
|
||||
|
||||
# The archiver and its options.
|
||||
AR = lib.exe
|
||||
|
||||
Reference in New Issue
Block a user