From: Guus Sliepen Date: Sat, 1 May 2010 13:39:03 +0000 (+0200) Subject: OpenSSL 1.0.0 compiled for 64 bit Windows requires linking with -lcrypt32. X-Git-Tag: release-1.0.14~54 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=ef92a5725c47c6e8e801e07190dd7dd3f9cb3a17 OpenSSL 1.0.0 compiled for 64 bit Windows requires linking with -lcrypt32. --- diff --git a/m4/openssl.m4 b/m4/openssl.m4 index a5cd0394..f0913001 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -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.])] ) ;;