Skip to content

Commit

Permalink
link against crypt32 if wincrypt is used
Browse files Browse the repository at this point in the history
  • Loading branch information
vthib authored and Guiguiprim committed Dec 20, 2023
1 parent a3ad0fa commit 30948a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ AS_IF([test "x$have_crypto" = "xno"],
AC_MSG_CHECKING([for Microsoft Crypto API])
AC_CHECK_HEADERS([wincrypt.h],
[
AC_MSG_RESULT([The "hash" module functions will be provided through the Microsoft Crypto API])
AC_CHECK_LIB(crypt32, CryptQueryObject)
AC_MSG_RESULT([The "hash" module functions will be provided through the Microsoft Crypto API])
# FIXME: Add PC_LIBS_PRIVATE entries?
build_hash_module=true
],
Expand Down

0 comments on commit 30948a6

Please sign in to comment.