summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-01-27 17:56:35 -0300
committerJames Almer <jamrial@gmail.com>2016-01-27 17:56:35 -0300
commit09d5c28c3dc4cdde81185de3a9a015c62bea396a (patch)
treedc64fe94787bbed05d8cc83428ef8542e6e8fc8b /configure
parentcefad29df93ab88ebab584e6ee151d5339d9329f (diff)
configure: fix openssl pkg-config check
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4d290512b7..0936b69279 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 ||