Fix OpenSSL SSL_library_init function check on OpenBSD.

v0.7.4-release
Brian White 2010-11-18 22:33:31 -05:00 committed by Ryan Dahl
parent 296802c641
commit 952bbb86b5
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ def configure(conf):
Options.options.use_openssl = conf.env["USE_OPENSSL"] = True Options.options.use_openssl = conf.env["USE_OPENSSL"] = True
conf.env.append_value("CPPFLAGS", "-DHAVE_OPENSSL=1") conf.env.append_value("CPPFLAGS", "-DHAVE_OPENSSL=1")
else: else:
libssl = conf.check_cc(lib='ssl', libssl = conf.check_cc(lib=['ssl', 'crypto'],
header_name='openssl/ssl.h', header_name='openssl/ssl.h',
function_name='SSL_library_init', function_name='SSL_library_init',
libpath=['/usr/lib', '/usr/local/lib', '/opt/local/lib', '/usr/sfw/lib'], libpath=['/usr/lib', '/usr/local/lib', '/opt/local/lib', '/usr/sfw/lib'],