From 5c9b9c2e7092c8f77ea297050a2954ba517d68ed Mon Sep 17 00:00:00 2001 From: Tony Metzidis Date: Fri, 10 Sep 2010 21:37:43 -0700 Subject: [PATCH] - fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl' --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index 9c4243c5d5..565b286d19 100644 --- a/wscript +++ b/wscript @@ -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')