summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2016-10-10 06:49:54 +1100
committerMatt Oliver <protogonoi@gmail.com>2016-10-21 15:16:44 +1100
commit798c6ecce50f26a53d48e2577a34fabe46b32eb9 (patch)
treed0cac01a4fe1ff452c06ee4be1f9865243b6719c /configure
parent0cfd6ccedeaa7fe2258c7590a754e3c1a4d7936f (diff)
openssl: Support version 1.1.0.
Fixes #5675 Signed-off-by: Matt Oliver <protogonoi@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 1e6834f2a9..481f69244b 100755
--- a/configure
+++ b/configure
@@ -5828,7 +5828,8 @@ enabled omx && { check_header OMX_Core.h ||
add_cflags -isystem/opt/vc/include/IL ; }
check_header OMX_Core.h ; } ||
die "ERROR: OpenMAX IL headers not found"; }
-enabled openssl && { use_pkg_config openssl openssl/ssl.h SSL_library_init ||
+enabled openssl && { use_pkg_config openssl openssl/ssl.h OPENSSL_init_ssl ||
+ use_pkg_config openssl openssl/ssl.h SSL_library_init ||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto ||
check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||