summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2018-08-04 16:48:20 +0000
committerylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2018-08-04 16:48:20 +0000
commit261595847307aa40484ebd39e3806a6430a90f6d (patch)
treeaaa10b6cb5b950d8802b5292d318782f47dfa02c /build
parent7b6efe6f56287e52ec46a27f742a1d396c65a793 (diff)
downloadlibapr-261595847307aa40484ebd39e3806a6430a90f6d.tar.gz
crypto: follow up to r1833421.
Link with OpenSSL's libssl in addition to libcrypto, so that we can initialize and deinitialize them together (libssl can't do this independently). Also, for older OpenSSL versions, initialize the threading locks needed by the lib at runtime. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1837430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/crypto.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/crypto.m4 b/build/crypto.m4
index d4719b34f..1930452da 100644
--- a/build/crypto.m4
+++ b/build/crypto.m4
@@ -132,7 +132,7 @@ AC_DEFUN([APU_CHECK_CRYPTO_OPENSSL], [
dnl Since we have already done the AC_CHECK_LIB tests, if we have it,
dnl we know the library is there.
if test "$apu_have_openssl" = "1"; then
- APR_ADDTO(LDADD_crypto_openssl, [$openssl_LDFLAGS -lcrypto])
+ APR_ADDTO(LDADD_crypto_openssl, [$openssl_LDFLAGS -lssl -lcrypto])
apu_have_crypto=1
AC_MSG_CHECKING([for const input buffers in OpenSSL])