[FFmpeg-devel] [PATCH] Fix static linking openssl library

atopilski at gmail.com atopilski at gmail.com
Sat Jun 10 11:13:10 EEST 2017


From: topilski <atopilski at gmail.com>

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

diff --git a/configure b/configure
index 4ec8f21..c92dd1f 100755
--- a/configure
+++ b/configure
@@ -5942,6 +5942,7 @@ enabled omx               && { check_header OMX_Core.h || die "ERROR: OpenMAX IL
 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 openssl/ssl.h SSL_library_init -lssl -lcrypto ||
+                               check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -ldl ||
                                check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
                                check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
                                die "ERROR: openssl not found"; }
-- 
2.10.2



More information about the ffmpeg-devel mailing list