urcrypt: updates libaes_siv link test, supplying -lcrypto
@@ -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])
