OpenSSL 1.0.0 compiled for 64 bit Windows requires linking with -lcrypt32.

This commit is contained in:
Guus Sliepen 2010-05-01 15:39:03 +02:00
parent 0fdd7da520
commit ef92a5725c

View file

@ -29,7 +29,7 @@ AC_DEFUN([tinc_OPENSSL],
case $host_os in
*mingw*)
AC_CHECK_LIB(crypto, SHA1_version,
[LIBS="$LIBS -lcrypto -lgdi32"],
[LIBS="$LIBS -lcrypto -lgdi32 -lcrypt32"],
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)
;;