]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix configure interaction with static OpenSSL libraries
authorPeter Sagerson <psagers@ignorare.net>
Fri, 23 Aug 2013 09:02:05 +0000 (11:02 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 23 Aug 2013 09:02:05 +0000 (11:02 +0200)
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 <heiko.hund@sophos.com>
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac

index 65c639c52b3fbcf77a10e985ad48ea465249c6f9..073dde7f5c569f08044e3cd658795d49351e5de9 100644 (file)
@@ -754,7 +754,9 @@ PKG_CHECK_MODULES(
                [
                        have_openssl_ssl="yes"
                        OPENSSL_SSL_LIBS="-lssl"
-               ]
+               ],
+               [],
+               [-lcrypto]
        )]
 )