Skip to content

Commit 91ab7b6

Browse files
committed
build(core): link imagehlp for Authenticode digest
- link the imagehlp library on MinGW builds - enable ImageGetDigestStream for ModuleEntryBinding support
1 parent 67459ff commit 91ab7b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/core/CMakeLists.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ target_compile_definitions(${LIBRARY_TARGET} PRIVATE HAS_RUST_SUPPORT)
113113
if(MINGW)
114114
# bcypt uuid generation
115115
target_link_libraries(${LIBRARY_TARGET} PRIVATE "-lbcrypt")
116+
# ImageGetDigestStream, for the Authenticode digest in ModuleEntryBinding
117+
target_link_libraries(${LIBRARY_TARGET} PRIVATE imagehlp)
116118
endif()
117119

118120
# set up pch

0 commit comments

Comments
 (0)