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

Ricardo Constantino wiiaboo at gmail.com
Sat Jun 10 14:38:29 EEST 2017


On 10 June 2017 at 09:13, <atopilski at gmail.com> wrote:

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

Why not just use the pkg-config with the proper --static flag?


>                                 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list