- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'

v0.7.4-release
Tony Metzidis 2010-09-10 21:37:43 -07:00 committed by Ryan Dahl
parent efdd73c8e4
commit 5c9b9c2e70
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ def configure(conf):
if libcrypto and libssl:
conf.env["USE_OPENSSL"] = Options.options.use_openssl = True
conf.env.append_value("CXXFLAGS", "-DHAVE_OPENSSL=1")
else:
Options.options.use_openssl = conf.env["USE_OPENSSL"] = False
conf.check(lib='rt', uselib_store='RT')