[FFmpeg-cvslog] configure: fix check for mbedtls

Reino Wijnsma git at videolan.org
Sun May 27 22:20:40 EEST 2018


ffmpeg | branch: master | Reino Wijnsma <rwijnsma at xs4all.nl> | Wed May 23 02:11:30 2018 +0200| [0263c52f4d4e911bf9ffd7eab6fed83e91353f35] | committer: James Almer

configure: fix check for mbedtls

Add missing libraries needed when linking with a static build of MbedTLS.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0263c52f4d4e911bf9ffd7eab6fed83e91353f35
---

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ||



More information about the ffmpeg-cvslog mailing list