From 30e358e5de352c8de04a955dc89f33e1710e9b97 Mon Sep 17 00:00:00 2001 From: Peter Sagerson Date: Fri, 23 Aug 2013 11:02:05 +0200 Subject: [PATCH] Fix configure interaction with static OpenSSL libraries Add "-lcrypto" to configure OpenSSL "-lssl" test (if no pkg-config found), otherwise linking with static OpenSSL libraries will fail. Trac ticket #305 Message-Id: <521668C9.5070003@openvpn.net> URL: http://article.gmane.org/gmane.network.openvpn.devel/7835 URL: https://community.openvpn.net/openvpn/ticket/305 Acked-By: Heiko Hund Signed-off-by: Gert Doering --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 65c639c52..073dde7f5 100644 --- a/configure.ac +++ b/configure.ac @@ -754,7 +754,9 @@ PKG_CHECK_MODULES( [ have_openssl_ssl="yes" OPENSSL_SSL_LIBS="-lssl" - ] + ], + [], + [-lcrypto] )] ) -- 2.47.2