From 952bbb86b5c243cc3479e8af1b1173d8854054f5 Mon Sep 17 00:00:00 2001 From: Brian White Date: Thu, 18 Nov 2010 22:33:31 -0500 Subject: [PATCH] Fix OpenSSL SSL_library_init function check on OpenBSD. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 6c1917db2c2..d08779b9df9 100644 --- a/wscript +++ b/wscript @@ -203,7 +203,7 @@ def configure(conf): Options.options.use_openssl = conf.env["USE_OPENSSL"] = True conf.env.append_value("CPPFLAGS", "-DHAVE_OPENSSL=1") else: - libssl = conf.check_cc(lib='ssl', + libssl = conf.check_cc(lib=['ssl', 'crypto'], header_name='openssl/ssl.h', function_name='SSL_library_init', libpath=['/usr/lib', '/usr/local/lib', '/opt/local/lib', '/usr/sfw/lib'],