[FFmpeg-cvslog] configure: fix openssl pkg-config check
James Almer
git at videolan.org
Wed Jan 27 21:59:22 CET 2016
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Jan 27 17:56:35 2016 -0300| [09d5c28c3dc4cdde81185de3a9a015c62bea396a] | committer: James Almer
configure: fix openssl pkg-config check
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=09d5c28c3dc4cdde81185de3a9a015c62bea396a
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 4d29051..0936b69 100755
--- a/configure
+++ b/configure
@@ -5599,7 +5599,7 @@ enabled opengl && { check_lib GL/glx.h glXGetProcAddress "-lGL" ||
check_lib2 ES2/gl.h glGetError "-isysroot=${sysroot} -Wl,-framework,OpenGLES" ||
die "ERROR: opengl not found."
}
-enabled openssl && { check_pkg_config openssl openssl/ssl.h SSL_library_init ||
+enabled openssl && { use_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 ||
More information about the ffmpeg-cvslog
mailing list