From ef92a5725c47c6e8e801e07190dd7dd3f9cb3a17 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 1 May 2010 15:39:03 +0200 Subject: [PATCH] OpenSSL 1.0.0 compiled for 64 bit Windows requires linking with -lcrypt32. --- m4/openssl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.])] ) ;; -- 2.39.5