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

This commit is contained in:
Tony Metzidis authored and Ryan Dahl committed 2010-09-17 11:17:00 -07:00
1 parent 4c5520a37e
commit 3816ebc85f
1 file changed
+2
+2
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')