urcrypt: updates libaes_siv link test, supplying -lcrypto

This commit is contained in:
Joe Bryan 2021-08-05 20:53:58 -04:00
parent 935a51def9
commit fbea80467d

View File

@ -83,7 +83,8 @@ AS_IF([test "$enable_shared" == "yes"],
# Checks for non pkg-config libraries
AC_CHECK_LIB([aes_siv], [AES_SIV_CTX_new],
[AC_SUBST([LIBAES_SIV_LIBS], "-laes_siv")],
[AC_MSG_ERROR([libaes_siv is required.])])
[AC_MSG_ERROR([libaes_siv is required.])],
[-lcrypto])
# Checks for header files.
AC_CHECK_HEADERS([limits.h stddef.h stdint.h stdlib.h string.h])