diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-01-15 18:09:48 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-01-19 20:47:49 +0100 |
commit | 8fd361f53b3c17c1ae13a39e030c8fa3ab4d8f1f (patch) | |
tree | 6af26f0b6c2ee11ff0c36c3b3209cf1e06c498b1 /configure | |
parent | e4eb13ca77624401ea7cef1ed6ad8e2d13fd2063 (diff) | |
download | ffmpeg-8fd361f53b3c17c1ae13a39e030c8fa3ab4d8f1f.tar.gz |
configure: Use pkg-config to check for openssl
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4532,7 +4532,8 @@ enabled mmal && { check_lib interface/mmal/mmal.h mmal_port_connect check_lib interface/mmal/mmal.h mmal_port_connect ; } check_lib interface/mmal/mmal.h mmal_port_connect ; } || die "ERROR: mmal not found"; } -enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto || +enabled openssl && { check_pkg_config openssl openssl/ssl.h SSL_library_init || + check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto || check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32 || check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 || die "ERROR: openssl not found"; } |