aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorReino Wijnsma <rwijnsma@xs4all.nl>2018-05-23 02:11:30 +0200
committerJames Almer <jamrial@gmail.com>2018-05-27 16:18:18 -0300
commit0263c52f4d4e911bf9ffd7eab6fed83e91353f35 (patch)
treed9317daff8e67b921b420428f51070101894d823 /configure
parent2b059813127cdbd0116505b8e8c8e2be0a660b85 (diff)
downloadffmpeg-0263c52f4d4e911bf9ffd7eab6fed83e91353f35.tar.gz
configure: fix check for mbedtls
Add missing libraries needed when linking with a static build of MbedTLS. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 09ff0c55e2..64c90bb6a2 100755
--- a/configure
+++ b/configure
@@ -6113,7 +6113,7 @@ enabled libzvbi && require_pkg_config libzvbi zvbi-0.2 libzvbi.h vbi_d
enabled libxml2 && require_pkg_config libxml2 libxml-2.0 libxml2/libxml/xmlversion.h xmlCheckVersion
enabled mbedtls && { check_pkg_config mbedtls mbedtls mbedtls/x509_crt.h mbedtls_x509_crt_init ||
check_pkg_config mbedtls mbedtls mbedtls/ssl.h mbedtls_ssl_init ||
- check_lib mbedtls mbedtls/ssl.h mbedtls_ssl_init -lmbedtls ||
+ check_lib mbedtls mbedtls/ssl.h mbedtls_ssl_init -lmbedtls -lmbedx509 -lmbedcrypto ||
die "ERROR: mbedTLS not found"; }
enabled mediacodec && { enabled jni || die "ERROR: mediacodec requires --enable-jni"; }
enabled mmal && { check_lib mmal interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host ||