From: Peter Sagerson Date: Fri, 23 Aug 2013 09:02:05 +0000 (+0200) Subject: Fix configure interaction with static OpenSSL libraries X-Git-Tag: v2.4_alpha1~537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30e358e5de352c8de04a955dc89f33e1710e9b97;p=thirdparty%2Fopenvpn.git 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 --- 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] )] )