[FFmpeg-devel] [PATCH] configure: fix mbedtls >=v3.5.0 link error on windows

Jay Zhang wangyoucao577 at gmail.com
Sat Jan 6 03:44:07 EET 2024


Signed-off-by: Jay Zhang <wangyoucao577 at gmail.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 0b5e83bd20..31dc29ca16 100755
--- a/configure
+++ b/configure
@@ -6930,6 +6930,7 @@ enabled libxml2           && require_pkg_config libxml2 libxml-2.0 libxml2/libxm
 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 -lmbedx509 -lmbedcrypto ||
+                               check_lib mbedtls mbedtls/ssl.h mbedtls_ssl_init -lmbedtls -lmbedx509 -lmbedcrypto -lbcrypt -lws2_32 ||
                                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 ||
-- 
2.39.3 (Apple Git-145)



More information about the ffmpeg-devel mailing list